]> code.delx.au - dotfiles/commitdiff
Tab to switch between split windows in Vim
authorJames Bunton <jamesbunton@delx.net.au>
Thu, 13 Dec 2007 14:03:28 +0000 (01:03 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Thu, 13 Dec 2007 14:03:28 +0000 (01:03 +1100)
.vim/macros.vim

index ee4735232c94afa9fa245b22816abc217dbdc299..8e0f2f3253751684c8b8599b4fd871708fad671f 100644 (file)
@@ -32,6 +32,9 @@ map <C-K> <C-W>k<C-W>_
 " Press CTRL-X after pasting something to fix up formatting
 imap <C-z> <ESC>u:set paste<CR>.:set nopaste<CR>i
 
+" Tab to switch between split windows
+map <Tab> <C-w><C-w>
+
 " Spell checking mode toggle
 function s:spell()
        if !exists("s:spell_check") || s:spell_check == 0