Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

A few extra helpful bindings.

  • Loading branch information...
commit dbebba93e430d5e5b4ce19958fb60a3a4d7ff237 1 parent 78e906f
@mikl authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 vimrc
View
9 vimrc
@@ -167,6 +167,15 @@ nmap <leader>n :NERDTreeToggle<CR>
cmap w!! %!sudo tee > /dev/null %
nmap <leader>S :w !sudo tee %<CR>
+" Easy split navigation.
+nnoremap <C-h> <C-w>h
+nnoremap <C-j> <C-w>j
+nnoremap <C-k> <C-w>k
+nnoremap <C-l> <C-w>l
+
+" Make Y behave like other capitals.
+nnoremap Y y$
+
"""""""""""""""""""""""""""""""
" File explorer configuration "
"""""""""""""""""""""""""""""""
Please sign in to comment.
Something went wrong with that request. Please try again.