diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 1720638..3decfaa 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -498,7 +498,7 @@ vnoremap "_x "formatting options to apply to the whole document - nnoremap J ':set tw=79gggqG:set tw=0:echo "Document text has been formatted to a width of 79 characters"' + nnoremap J ':set tw=79Vgq:set tw=0:echo "Document text has been formatted to a width of 79 characters"' vnoremap J ':set tw=79gvgq:set tw=0:echo "Selected text has been formatted to a width of 79 characters"' nnoremap f mzgg=G`z:echo "The document has been formatted" vnoremap f mz=`z:echo "The selection has been formatted"