mirror of
https://github.com/spf13/spf13-vim.git
synced 2024-09-21 15:37:10 +00:00
Fixing <cr> in .vimrc
This commit is contained in:
parent
98f4b5685a
commit
55633be089
7
.vimrc
7
.vimrc
@ -442,12 +442,13 @@
|
||||
inoremap <expr><C-g> neocomplcache#undo_completion()
|
||||
inoremap <expr><C-l> neocomplcache#complete_common_string()
|
||||
|
||||
|
||||
" <CR>: close popup
|
||||
" <s-CR>: close popup and save indent.
|
||||
inoremap <expr><CR> neocomplcache#close_popup()
|
||||
inoremap <expr><s-CR> neocomplcache#close_popup() . "\<CR>"
|
||||
inoremap <expr><CR> pumvisible() ? neocomplcache#close_popup() : "\<CR>"
|
||||
inoremap <expr><s-CR> pumvisible() ? neocomplcache#close_popup() "\<CR>" : "\<CR>"
|
||||
" <TAB>: completion.
|
||||
"inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
|
||||
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
|
||||
|
||||
" <C-h>, <BS>: close popup and delete backword char.
|
||||
inoremap <expr><C-h> neocomplcache#smart_close_popup()."\<C-h>"
|
||||
|
Loading…
Reference in New Issue
Block a user