Fix the awful double escape bug

This commit is contained in:
spf13 2015-11-16 18:04:55 -05:00
parent e96e1c1011
commit 9af9ba73cf

2
.vimrc
View File

@ -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