New answers tagged formatting
1
vote
Accepted
Justify text with leading whitespace
I would do:
:set tw=77
ggShift vG to select the text,
:left to kill the leading spaces,
gv to restore the selection,
gq to wrap the text.
Top 50 recent answers are included
Related Tags
formatting × 195indentation × 26
neovim × 17
comments × 15
wrapping × 14
vimrc × 10
filetype-markdown × 10
vimscript × 8
line-breaks × 8
key-bindings × 7
autocmd × 7
alignment × 7
visual-mode × 6
filetype-tex × 6
substitute × 5
insert-mode × 5
filetype-xml × 5
regular-expression × 4
filetype × 4
filetype-python × 4
syntax-highlighting × 3
search × 3
functions × 3
cursor-motions × 3
options × 3