Control: tags 566827 wontfix

However, when it comes to trailing whitespace, it would be much more useful
to have an options to strip it rather than highlight it. Could this wishlist
item be forwarded upstream?

Someone else requested it at:  https://savannah.gnu.org/bugs/?63062.

The custom solution (since nano-7.0) is to add two lines to your .nanorc:

  ## For snipping trailing blanks when you save a file:
  bind ^S "{execute}| sed 's/\s\+$//' {enter}{savefile}" main


Benno

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to