aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Singleton <matt@datadoghq.com>2012-04-11 12:35:05 -0400
committerMatt Singleton <matthew.j.singleton@gmail.com>2012-05-03 15:28:21 -0400
commite361469a8ccc882b412e2b21321f9dca74ec73be (patch)
treed00bbafe956b7babb3adfbb7175ef964994178a5
parent73ad48ba9e0a8670bfef6d6d91dcaa8a34a03a22 (diff)
keybindings
-rw-r--r--vimrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index cf90f18..9004ec7 100644
--- a/vimrc
+++ b/vimrc
@@ -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
"