Skip to content

rmtrailingws + autosave = somegluedwords #2848

@aureliojargas

Description

@aureliojargas

Can we have the rmtrailingws to ignore (AKA do not remove) the trailing whitespace from the current line the cursor is in?

Because otherwise, when used together with, say, > set autosave 5, you are there, writing a paragraph like this one, andsuddenly a space isremoved from the end ofthe current line and words getglued.

Sometimes I notice that (and fix it), sometimes I don't.

Another option would be like in other editors, instead of auto saving every N seconds, to save the buffer when the focus on the editor pane gets lost. If you change to another micro pane (another open file or a > term session) or another window, the file who just lost the focus gets saved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions