Safe Haskell | None |
---|---|
Language | Haskell2010 |
Widget like Brick.Widgets.Edit, but with more emacs style keybindings.
See handleEditorEvent
for a list of added keybindings.
- handleEditorEvent :: (Eq t, GenericTextZipper t) => Event -> Editor t n -> EventM n (Editor t n)
- module Brick.Widgets.Edit
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
module Brick.Widgets.Edit