From 910aee617292775bd0cd224bd04558a146cfaa0c Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Tue, 22 Nov 2011 14:34:36 -0600 Subject: [PATCH] Add keyboard shortcuts for tabs and let \ be mapped Leader --- editors/vim/ui.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/editors/vim/ui.vim b/editors/vim/ui.vim index e283c32..9c0db75 100644 --- a/editors/vim/ui.vim +++ b/editors/vim/ui.vim @@ -92,6 +92,9 @@ syntax on " way better... map 0 ^ + nmap ] :tabnext + nmap [ :tabprev + " Opens an edit command with the path of the currently " edited file filled in Normal mode: e map e :e =expand("%:p:h") . "/" @@ -116,3 +119,6 @@ syntax on call cursor(l, c) endfunction autocmd! BufWritePre * :call StripTrailingWhitespaces() + + " For when other people use my setup + nmap \