diff options
author | Matt Singleton <matt@datadoghq.com> | 2012-04-11 12:35:05 -0400 |
---|---|---|
committer | Matt Singleton <matthew.j.singleton@gmail.com> | 2012-05-03 15:28:21 -0400 |
commit | e361469a8ccc882b412e2b21321f9dca74ec73be (patch) | |
tree | d00bbafe956b7babb3adfbb7175ef964994178a5 | |
parent | 73ad48ba9e0a8670bfef6d6d91dcaa8a34a03a22 (diff) |
keybindings
-rw-r--r-- | vimrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -65,6 +65,7 @@ if has("autocmd") " html templates au BufRead,BufNewFile *.mako setlocal filetype=html au BufRead,BufNewFile *.ftl setlocal filetype=html + au BufRead,BufNewFile *.handlebars setlocal filetype=html ts=4 sts=4 sw=4 " css templates au BufRead,BufNewFile *.less setlocal filetype=css @@ -97,6 +98,8 @@ nnoremap <c-j> <c-w>j nnoremap <c-k> <c-w>k nnoremap <c-h> <c-w>h nnoremap <c-l> <c-w>l +inoremap jk <Esc> +inoremap kj <Esc> " NERDTree nnoremap <C-e> :NERDTreeToggle<Enter> @@ -111,6 +114,10 @@ nnoremap <leader>fv :BufExplorerVerticalSplit<Enter> " ctrlp let g:ctrlp_map ='<leader>a' +" solarized +nnoremap <leader>vl :let g:solarized_visibility="low" | colo solarized<Enter> +nnoremap <leader>vh :let g:solarized_visibility="high" | colo solarized<Enter> + " " visual " |