50df9ce82ada
Colemak!
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Sun, 24 Jul 2011 20:20:36 -0400 |
parents | c210796f4368 |
children | 73e852660d63 |
branches/tags | (none) |
files | vim/.vimrc |
Changes
--- a/vim/.vimrc Fri Jul 22 10:57:46 2011 -0400 +++ b/vim/.vimrc Sun Jul 24 20:20:36 2011 -0400 @@ -175,24 +175,11 @@ " Directional Keys {{{ -" Why stretch? -noremap h ; -noremap j h -noremap k gj -noremap l gk -noremap ; l - " Easy buffer navigation -" Note: For this section to make any sense you need to remap Ctrl-; to Ctrl-g at -" the KEYBOARD level. The reason is that for some reason the OS X doesn't -" recognize the Ctrl+; combination as something special, so it just passes it -" to Vim as a semicolon. -" -" Yeah, it's dumb. -noremap <C-j> <C-w>h -noremap <C-k> <C-w>j -noremap <C-l> <C-w>k -noremap <C-g> <C-w>l +noremap <C-h> <C-w>h +noremap <C-j> <C-w>j +noremap <C-k> <C-w>k +noremap <C-l> <C-w>l noremap <leader>g <C-w>v " }}} @@ -485,7 +472,7 @@ inoremap <C-_> <Space><BS><Esc>:call InsertCloseTag()<cr>a " Faster Esc -inoremap jk <ESC> +inoremap <c-t> <ESC> " Cmdheight switching nnoremap <leader>1 :set cmdheight=1<cr>