diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index d5c8047..a38cdbf 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -196,7 +196,6 @@ " | (I) -> (neocomplete) undo the most recent completion " " (formatting) -" | (V) -> deletes currently selected text " J | (N) -> split document into lines of tw or 80 " J | (V) -> split selection into lines of tw or 80 " f | (N) -> format document and return to cursor @@ -721,9 +720,6 @@ "} "FORMATTING:{ - "have backspace delete the selected text - vnoremap "_x - "format width to text width (or 80 chars if text width is 0) nnoremap J ':let b:tw=&textwidth:if (b:tw == 0)set tw=80endifgg0vG$gq:if (b:tw == 0)set tw=0let b:tw=80endif:echo "Document has been formatted to a width of ".b:tw." characters"' vnoremap J ':let b:tw=&textwidth:if (b:tw == 0)set tw=80endifgvgq:if (b:tw == 0)set tw=0let b:tw=80endif:echo "Selection has been formatted to a width of ".b:tw." characters"'