hledger-iadd-1.1.4: A terminal UI as drop-in replacement for hledger add

Safe HaskellNone
LanguageHaskell2010

Brick.Widgets.Edit.EmacsBindings

Description

Widget like Brick.Widgets.Edit, but with more emacs style keybindings.

See handleEditorEvent for a list of added keybindings.

Synopsis

Documentation

handleEditorEvent :: (Eq t, GenericTextZipper t) => Event -> Editor t n -> EventM n (Editor t n) Source #

Same as handleEditorEvent, but with more emacs-style keybindings

Specifically:

  • Ctrl-f: Move forward one character
  • Ctrl-b: Move backward one character
  • Alt-f: Move forward one word
  • Alt-b: Move backward one word
  • Alt-Backspace: Delete the previous word
  • Ctrl-w: Delete the previous word
  • Alt-d: Delete the next word