Keep your code tidy by trimming extra spaces
This was a great tip, but the 'set listchars' suggestion didn't work for me until I also added 'set list'.
Could use winsaveview() and winrestview() to restore cursor position.
As an example of a filetype that has meaningful trailing whitespace:
In Markdown two trailing spaces adds a newline.
This was a great tip, but the 'set listchars' suggestion didn't work for me until I also added 'set list'.
Could use winsaveview() and winrestview() to restore cursor position.
As an example of a filetype that has meaningful trailing whitespace:
In Markdown two trailing spaces adds a newline.