tags:

views:

507

answers:

1

I have multiple plugins in Vim and some of them modify the default behavior of Vim. For example I use Vimacs plugin, which makes Vim behave like emacs in the insert mode alone. Sometime I want to turn off the Vimacs plugin without moving the vimacs.vim out of the plugins directory. Is there a way to do it?

+6  A: 

See which variable vimacs check on start. On the begin of the script file find something Like "if exists('g:vimacs_is_loaded")...". Then set this variable in your .vimrc or while start vim with 'vim --cmd "let g:vimacs_is_loaded = 1"'.

Mykola Golubyev