On 13:35 Fri 31 Jan , Егор wrote:
> In .vimrc I want to check if colorscheme COL1 exists, use it, else use COL2?
That's quite simple:
try
colo COL1
catch /E185:/
colo COL2
endtry
Another approach is to check if the colorscheme file is in place:
if !empty(globpath(&rtp, 'colors/COL1.v
I have the following to capture raw mousepresses:
nno [ :call PrintCoordinates()
fun! PrintCoordinates()
let k=[getchar(0),getchar(0),getchar(0),getchar(0),getchar(0)]
ec k
endfun
I don't know if there is an easier way, like some sort of options setting to
get vim to pass on th
In vimrc something like this
if exists(':NERDTree')
"au VimEnter * NERDTreeToggle D:/web/sites
" hit to toggle NERDTree
nmap :NERDTreeToggle
let g:nerdtree_tabs_open_on_gui_startup=1
endif
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your re
In .vimrc I want to check if colorscheme COL1 exists, use it, else use COL2?
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this messag
Have trouble. Install perlsupport via vundle Bundle 'perl-support.vim'
But now I can't use templates like \idd \isu and others because
directory mismatch. perl-support.vim still trying to find it in
PLUGINS_DIRECTORY/perl-support/templates, but now they are in
$HOME\.vim\bundle\perl-support.vim