Breaks CTRL-X Mode
waivek opened this issue · 2 comments
I'm using gvim on Windows. I used Vundle to install the plugin from here. When this plugin is loaded, if I try to enter ^X mode
by pressing CTRL-X in INSERT
mode, it immediately exits back into the general INSERT
mode. If I comment out the line Plugin 'vim-scripts/vim-auto-save'
and change it to " Plugin 'vim-scripts/vim-auto-save'
then I can enter and stay in ^X mode
. I'm not completely familiar with VimL for plugins otherwise I would try toggling some of the g:
variables. Could you tell me if there is any fix for this?
@waivek Thanks for reporting it! This happens because we use au CursorHoldI * ...
callback. As a temporary solution you may disable the plugin in insert mode (it will still work in normal mode) with:
" .vimrc
let g:auto_save_in_insert_mode = 0
This fixed it. Thank You.