la 9. marrask. 2024 klo 14.31 Benno Schulenberg ([email protected]) kirjoitti:
> > 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

As others told you on the upstream bug, that is not what was requested.

Martin-Éric

Reply via email to