adsr / mle

flexible terminal-based text editor (C)
Apache License 2.0
827 stars 53 forks source link

Shift+tab does not unident #33

Closed hovsater closed 4 years ago

hovsater commented 4 years ago

I know we can use M-. and M-, to indent and unident respectively. However, since tab can be used to indent, I would expect Shift-tab to unident.

Right now, the behaviour I'm seeing when pressing Shift-tab is a Z being inserted at nearest {. Hitting it multiple times will continue walking up the tree, inserting Z at every { it can find.

The Z could potentially be an escape sequence or related key code?

adsr commented 4 years ago

https://github.com/adsr/mle/issues/34#issuecomment-627749557

adsr commented 3 years ago

Shift-tab can now be bound to keyname backtab.