mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-26 13:01:26 -05:00
Don't enable neocomplete keyboard bindings if neovim is being used
This commit is contained in:
parent
f9526ca41e
commit
820bb5004a
1 changed files with 13 additions and 11 deletions
|
@ -704,6 +704,7 @@
|
||||||
"}
|
"}
|
||||||
|
|
||||||
"AUTOCOMPLETION:{
|
"AUTOCOMPLETION:{
|
||||||
|
if !has('nvim')
|
||||||
"neocomplete close popup and save indent
|
"neocomplete close popup and save indent
|
||||||
inoremap <silent> <CR> <C-r>=<SID>neocache_cr()<CR>
|
inoremap <silent> <CR> <C-r>=<SID>neocache_cr()<CR>
|
||||||
function! s:neocache_cr()
|
function! s:neocache_cr()
|
||||||
|
@ -718,6 +719,7 @@
|
||||||
|
|
||||||
"neocomplete undo completion
|
"neocomplete undo completion
|
||||||
inoremap <expr><C-u> neocomplete#undo_completion()
|
inoremap <expr><C-u> neocomplete#undo_completion()
|
||||||
|
endif
|
||||||
"}
|
"}
|
||||||
|
|
||||||
"FORMATTING:{
|
"FORMATTING:{
|
||||||
|
|
Loading…
Reference in a new issue