Skip to content

Edit mode with emacs keybindings #2

@rodionsteshenko

Description

@rodionsteshenko

Add the ability to edit files directly in the diff view, using emacs-style keybindings.

Desired behavior:

  • Press e to enter edit mode on the focused pane
  • Emacs keybindings: C-a (start of line), C-e (end of line), C-k (kill line), C-y (yank), C-w (cut region), M-w (copy region)
  • Visual indicator showing edit mode is active
  • Save with C-x C-s, cancel with C-g
  • Diff updates live as you edit

This is the most requested feature for the TUI version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions