Adding jk -> Esc mapping to vimrc. Commenting out some unused stuff for now

master
Dustin Swan 13 years ago
parent 99d80c38ed
commit 185cb73244

14
vimrc

@ -77,6 +77,8 @@ let NERDTreeDirArrows=1
" Tagbar " Tagbar
nnoremap <silent> <leader>t :TagbarToggle <CR> nnoremap <silent> <leader>t :TagbarToggle <CR>
" Easy Motion
let g:EasyMotion_leader_key = '<Leader>e' let g:EasyMotion_leader_key = '<Leader>e'
" hide toolbar in macvim, etc " hide toolbar in macvim, etc
@ -108,13 +110,15 @@ if version > 702
set colorcolumn=80 set colorcolumn=80
endif endif
" quickly move between splits " quickly move between splits
nmap <silent> <c-h> <c-w>h " nnoremap <silent> <c-h> <c-w>h
nmap <silent> <c-l> <c-w>l " nnoremap <silent> <c-l> <c-w>l
nmap <silent> <c-j> <c-w>j " nnoremap <silent> <c-j> <c-w>j
nmap <silent> <c-k> <c-w>k " nnoremap <silent> <c-k> <c-w>k
" pretty line endings and trailing spaces " pretty line endings and trailing spaces
set list listchars=tab:»·,trail,eol:↪ set list listchars=tab:»·,trail,eol:↪
" set list listchars=tab:»·,trail:·,eol:· " set list listchars=tab:»·,trail:·,eol:·
" fine I give up
inoremap jk <Esc>

Loading…
Cancel
Save