Skip to content

Commit

Permalink
Fix killWord for emacs-keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
junjihashimoto committed Jun 11, 2018
1 parent 2fa57e3 commit e8a8afc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yi-keymap-emacs/src/Yi/Keymap/Emacs.hs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ emacsKeys univArg =
, metaCh 'a' ?>>! repeatingArg (moveE unitSentence Backward)
, metaCh 'b' ?>>! repeatingArg prevWordB
, metaCh 'c' ?>>! repeatingArg capitaliseWordB
, metaCh 'd' ?>>! repeatingArg killWordB
, metaCh 'd' ?>>! repeatingArg killWordB >> killringToClipboard
, metaCh 'e' ?>>! repeatingArg (moveE unitSentence Forward)
, metaCh 'f' ?>>! repeatingArg nextWordB
, metaCh 'h' ?>>! repeatingArg (selectNParagraphs 1)
Expand All @@ -215,7 +215,7 @@ emacsKeys univArg =
, metaCh '@' ?>>! repeatingArg markWord

-- Other meta key-bindings
, meta (spec KBS) ?>>! repeatingArg bkillWordB
, meta (spec KBS) ?>>! repeatingArg bkillWordB >> killringToClipboard
, metaCh 'g' ?>>
optMod meta (char 'g') >>! (gotoLn . fromDoc :: Int ::: LineNumber -> BufferM Int)
]
Expand Down

0 comments on commit e8a8afc

Please sign in to comment.