Skip to content
Browse files

vim: keep cursor keys in insert.

  • Loading branch information...
1 parent a937350 commit 7beea29b8c752f2aa104676fc76e6c2002769a14 @paulirish committed
Showing with 7 additions and 6 deletions.
  1. +7 −6 .vimrc
View
13 .vimrc
@@ -146,12 +146,13 @@ if &term == "xterm-ipad"
endif
" Remap keys for auto-completion, disable arrow keys
-inoremap <expr> <Esc> pumvisible() ? "\<C-e>" : "\<Esc>"
-inoremap <expr> <CR> pumvisible() ? "\<C-y>" : "\<CR>"
-inoremap <expr> <Down> pumvisible() ? "\<C-n>" : "\<NOP>"
-inoremap <expr> <Up> pumvisible() ? "\<C-p>" : "\<NOP>"
-inoremap <Left> <NOP>
-inoremap <Right> <NOP>
+" I still need these cuz im nub. so nub.
+" inoremap <expr> <Esc> pumvisible() ? "\<C-e>" : "\<Esc>"
+" inoremap <expr> <CR> pumvisible() ? "\<C-y>" : "\<CR>"
+" inoremap <expr> <Down> pumvisible() ? "\<C-n>" : "\<NOP>"
+" inoremap <expr> <Up> pumvisible() ? "\<C-p>" : "\<NOP>"
+" inoremap <Left> <NOP>
+" inoremap <Right> <NOP>
" Indent/unident block (,]) (,[)
nnoremap <leader>] >i{<CR>

0 comments on commit 7beea29

Please sign in to comment.
Something went wrong with that request. Please try again.