Skip to content

Commit

Permalink
Fix the awful double escape bug
Browse files Browse the repository at this point in the history
  • Loading branch information
spf13 committed Nov 16, 2015
1 parent e96e1c1 commit 9af9ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit 9af9ba7

@mightyiam
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awful, indeed.

Please sign in to comment.