Friday, August 19, 2016

Re: Disabling arrow key in insert mode

Hi Thomas,
I have same problem. Each time I press <Up> or <Down> key in Insert Mode, I always get * pumvisible() ? "\<C-P>" : "\<Up>".
I searched and found that problem comes from vim-autoclose plugin, not YouCompleteMe. You can see here:
https://github.com/Townk/vim-autoclose/issues/3

This config saves my day :D. If you use AutoClose plugin, you should add this line to your .vimrc file

if !has("gui_running")
let g:AutoClosePreservDotReg = 0
endif

Hope it help!

--
--
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 message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: