Skip to content

Support more emacs-style keybindings in TextArea #6488

@mgesbert

Description

@mgesbert

The missing ones we have currently identified are:

  • ctrl+u doesn't remove previous \n when cursor is at the beginning of the line (but ctrl+k actually has the good behavior regarding \n)
  • ctrl+b: Move cursor backward (left)
  • ctrl+f: Move cursor forward (right) - instead, it currently deletes the next word
  • ctrl+backspace: delete previous word (this one is probably also linked to kitty protocol support)
  • option+delete: Delete end of word
  • ctrl+p: Move cursor to the previous line
  • ctrl+n: Move cursor to the next line

Side note: would it make sense to support cmd+Z at the TextArea level?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions