When you navigate by paragraph in vim using { and } it skips lines that contain nothing but whitespace though they are otherwise \'blank\'.
How can I convince vim to tre
I never have a legitimate need for whitespace only lines so I solved this "problem" by adding the following to my .vimrc
:
" Highlight spaces at the end of lines.
highlight link localWhitespaceError Error
au Syntax * syn match localWhitespaceError /\(\zs\%#\|\s\)\+$/ display
" Remove end of line white space.
noremap r ma:%s/\s\+$//e`a
So then if { and } skips whitespace only lines I use my mapping to remove it and try again.