Skip to content

Commit

Permalink
Merge pull request #669 from wolfgangpfnuer/patch-1
Browse files Browse the repository at this point in the history
replace iunmap <CR> with inoremap <CR> <CR>
  • Loading branch information
spf13 committed Sep 8, 2014
2 parents 70c38b1 + a299f31 commit ff1c8bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@
smap <C-k> <Plug>(neosnippet_expand_or_jump)
endif
if exists('g:spf13_noninvasive_completion')
iunmap <CR>
inoremap <CR> <CR>
" <ESC> takes you out of insert mode
inoremap <expr> <Esc> pumvisible() ? "\<C-y>\<Esc>" : "\<Esc>"
" <CR> accepts first, then sends the <CR>
Expand Down Expand Up @@ -840,7 +840,7 @@
imap <C-k> <Plug>(neosnippet_expand_or_jump)
smap <C-k> <Plug>(neosnippet_expand_or_jump)
if exists('g:spf13_noninvasive_completion')
iunmap <CR>
inoremap <CR> <CR>
" <ESC> takes you out of insert mode
inoremap <expr> <Esc> pumvisible() ? "\<C-y>\<Esc>" : "\<Esc>"
" <CR> accepts first, then sends the <CR>
Expand Down

0 comments on commit ff1c8bc

Please sign in to comment.