Loading ...
Sorry, an error occurred while loading the content.

76441end of line whitespace

Expand Messages
  • Robert Hicks
    Jan 2, 2007
    • 0 Attachment
      I know that in some IDE's I can check a box that causes the IDE to
      automatically strip trailing white space. Does Vim have a switch to do
      that or do I need to do:

      autocmd BufWritePre * %s/\s*$//e

      It would be nice to have a "set stripwhitespace" if that is the case but
      I guess that is the power of Vim.

      Robert
    • Show all 2 messages in this topic