moe
moe copied to clipboard
Feature request: Single space key for indentation
I've not seen this feature in any other editor so far, so this could be something special for moe.
I wanted to implement it myself, but currently I can't come around to hack on moe.
The idea is to allow to use the space key for increasing indentation.
This should work in insert mode and only when everything before the cursor (on the same line) is whitespace.
Of course it should be configurable.
For example (there are 2 spaces before Foo, so one level of indentation):
Foo
- (In insert mode) When the Cursor is at F or anywhere before F and the user presses space the result should be:
Foo
Ends up with 4 spaces before Foo.
This feature should also always put the cursor at either the first non-whitespace character, or the end of the line.
@tobimensch
That sounds good! I will implement in the v0.2.1.