Re: [bug #63062] [Wish] A feature to trim blanks automatically at the end of lines when the text is saved
André Kugland <[email protected]>
| Newsgroups | gmane.editors.nano.devel |
|---|---|
| Message-ID | <CAOTP++hJrfRzHxXVWDqnpx0BE+JjhaXbWqUPYLzEeCmfbbBmpg@mail.gmail.com> |
May I suggest that the config line you suggested be added to the default
nanorc (commented) as an example of what can be done? I myself didn’t know
that nano could have keybindings that pipe the buffer into another program.
## For snipping trailing blanks when you save a file:
#bind ^S "{execute}| sed 's/\s\+$//' {enter}{savefile}" main
André Kugland
On Thu, Sep 15, 2022 at 8:01 AM Benno Schulenberg <[email protected]>
wrote:
>
> Op 15-09-2022 om 11:15 schreef Oliver:
> > This is an open source project. How dare you mark a wish as wont fix that
> > anyone could fulfill at any time?
>
> Pfff...
>
> > And other solutions have nothing to do with nano.
> >
> > _______________________________________________________
> >
> > Reply to this item at:
> >
> > <https://savannah.gnu.org/bugs/?63062>
>
> --
>
> Benno
>