From 8821f922de0fd6713389b29975eab1f18ee23ecb Mon Sep 17 00:00:00 2001 From: Kevin Date: Fri, 28 Mar 2014 16:30:38 -0400 Subject: [PATCH] Added a key binding to convert tabs to spaces, and one to remove search highlighting --- vim/config/keyboard.vim | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index c5a3e3c..d140c12 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -37,6 +37,8 @@ " | (A) -> toggle collapsed/folded rows " | (N) -> format document and return to current line " | (N) -> remove whitespace +" | (N) -> convert tabs into spaces +" \ | (N) -> remove search highlighting " | (N) -> move to the beginning of the document " | (N) -> move to the beginning of the document " | (N) -> move to the end of the document @@ -151,6 +153,12 @@ "remove trailing white space from the document nnoremap ':FixWhitespace' + "convert tabs to spaces + nnoremap ':retab:noh' + + "remove search highlight + nnoremap / ':noh' + "remap keys to scroll through text nnoremap gg0 nnoremap gg0