New answers tagged line-breaks
0
votes
What's the simplest way to strip trailing whitespace from all lines in a file?
Kudos to all the previous answers. I really like the use of keeppatterns. I just want to add one more thing that no one else mentioned - the substitute command's confirmation flag. This could ...
Top 50 recent answers are included
Related Tags
line-breaks × 58wrapping × 13
vimrc × 8
formatting × 7
vimscript × 4
substitute × 4
filetype-markdown × 3
whitespace × 3
key-bindings × 2
syntax-highlighting × 2
search × 2
command-line × 2
indentation × 2
insert-mode × 2
functions × 2
register × 2
save × 2
neovim × 1
cursor-movement × 1
cursor-motions × 1
folding × 1
terminal-buffer × 1
filetype-python × 1
git × 1
unicode × 1