@@ -26,3 +26,11 @@ if has('persistent_undo')
let &undodir = myUndoDir
set undofile
endif
+
+" tab = escape
+nnoremap <Tab> <Esc>
+vnoremap <Tab> <Esc>gV
+onoremap <Tab> <Esc>
+inoremap <Tab> <Esc>`^
+" \tab insert a tab
+inoremap <Leader><Tab> <Tab>