mirror of
https://github.com/spf13/spf13-vim.git
synced 2024-09-21 07:27:11 +00:00
Fix the awful double escape bug
This commit is contained in:
parent
e96e1c1011
commit
9af9ba73cf
2
.vimrc
2
.vimrc
@ -512,7 +512,7 @@
|
||||
hi PmenuThumb guifg=#F8F8F8 guibg=#8A95A7 gui=NONE ctermfg=lightgray ctermbg=darkcyan cterm=NONE
|
||||
|
||||
" Some convenient mappings
|
||||
inoremap <expr> <Esc> pumvisible() ? "\<C-e>" : "\<Esc>"
|
||||
"inoremap <expr> <Esc> pumvisible() ? "\<C-e>" : "\<Esc>"
|
||||
if exists('g:spf13_map_cr_omni_complete')
|
||||
inoremap <expr> <CR> pumvisible() ? "\<C-y>" : "\<CR>"
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user