Permalink
Browse files

[vim] remap to jkl; add window movement, shortcut for x,q

  • Loading branch information...
1 parent 910ffa0 commit 968290ab3fa7449aefbd2ee823a5b245f07ebaeb @jamesonjlee committed Mar 13, 2013
Showing with 17 additions and 0 deletions.
  1. +17 −0 vimrc
View
17 vimrc
@@ -94,6 +94,23 @@ set foldmethod=indent
" Enable mouse support
set mouse=a
+
+""""""""""""""""""""""""""""""""
+" custom keys
+" custom keys
+" custom keys
+""""""""""""""""""""""""""""""""
+nnoremap <Space><BS> <Esc>
+inoremap <Space><BS> <Esc>
+
+noremap l <left>
+noremap <C-w>l <C-w><left>
+noremap ; <right>
+noremap <C-w>; <C-w><right>
+noremap <C-x> :x<CR>
+noremap <C-q> :q<CR>
+
+""""""""""""""""""""""""""""""""
"for switching tabs/windows
"CTRL for tabs, ALT for windows
map <C-left> <C-w><left>

0 comments on commit 968290a

Please sign in to comment.