0
votes
2answers
79 views

Set color of quickfix arrow in Vim buffer

When I commit the cardinal sin of using == instead of ===, Vim, or its minions of scripts, opens up the quick fix window with some useful tips. Using vim-hier, I have the incorrect line highlighted ...
1
vote
2answers
77 views

vim how transfer :substitute command to script

Here are 2 :s commands. Work fine at command line or as part of a key mapping, but I cannot get them to run correctly in a vim script. I've used normal, execute, execute "normal..." and call normal ...
1
vote
1answer
214 views

Vimscript: calculate number of chars on a line?

I need an attribute or function in vimscript that does a certain task if the current line you're on contains a certain number of chars. For example: if *chars_on_current_line* = 50 " for example ...
0
votes
1answer
95 views

why vim see few files as arguments to CCTreeLoadXRefDBFromDisk

autocmd VimEnter * if filereadable('cctree.out') | CCTreeLoadXRefDBFromDisk cctree.out | endif I receive error message: E172: Only one file name allowed: CCTreeLoadXRefDBFromDisk cctree.out | ...
1
vote
1answer
217 views

get perl-script output into vimscript

I have tried the following: :let @0 = system('perl /home/hermann/hi.pl') :echo @0 Having hi.pl like this: \#!/usr/bin/perl exit(34); But I dont get 34 into @0, I get nothing. How do I return a ...