thestinger/termite

Better cursor movement in insert mode

Closed this issue · 1 comments

It would be great to support keys that Linux(and other OSs), for example

  • CTRL+LEFT_ARROW: Move to the start of the word
  • CTRL+RIGHT_ARROW: Move to the end of the word
  • CTRL+BACKSPACE: Delete to the start of the word
  • CTRL+DEL: Delete to the end of the word

as currently all of the above just type text ;5D;5A;5~ and the BACKSPACE one just deletes one character.

Edit

It'd be amazing to see support for home and end added to the terminal, as currently, they don't do anything, but I used them extensively if I forget something like a sudo or to prepend an ENV variable.

Somehow it works today. I didn't do anything different, but it just started working.
If anyone has any information or idea on why that happened, I'm all ears.

Closing this issue, as it has been solved for now.