D22276: Add an action to insert a non-indented newline
noreply at phabricator.kde.org
Fri Jul 5 11:34:43 BST 2019
bruns added a comment.
In D22276#491055 <https://phabricator.kde.org/D22276#491055>, @mickaelbo wrote:
> Another way to avoid indented empty line is to clear the trailing spaces/indentation when pressing enter while the cursor is at the end of a line containing only spaces or \t. This can lead to a nightmare though if someone want to keep trailing spaces...
This is similar to what Vim does, although not exactly.
Vim only clears the line when you haven't modified the line, so you can force a line containing only indendation whitespace by adding any character (or space) and deleting it. Works really nice.
To: ahmadsamir, #ktexteditor, cullmann, dhaumann
Cc: bruns, mickaelbo, kde-frameworks-devel, kwrite-devel, LeGast00n, domson, michaelh, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel