]> gitweb.fluxo.info Git - rhatto/dotfiles/vim.git/commitdiff
Window navigation mappings
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 5 Oct 2017 00:43:41 +0000 (21:43 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 5 Oct 2017 00:43:41 +0000 (21:43 -0300)
vimrc.dot.link

index 5439d508ae293f293b4db456d2f4862082819b4f..cf46076ca7daf3d31408ac42df55ac115c16ee73 100644 (file)
@@ -214,6 +214,12 @@ nmap \e0 10gt
 map \eOd :bprevious<CR>
 map \eOc :bnext<CR>
 
+" Window navigation
+map \e<Left> <C-w><Left>
+map \e<Right> <C-w><Right>
+map \e<Down> <C-w><Down>
+map \e<Up> <C-w><Up>
+
 " See
 " http://vim.wikia.com/wiki/Have_Vim_check_automatically_if_the_file_has_changed_externally
 " http://stackoverflow.com/questions/2490227/how-does-vims-autoread-work