Skip to content

Commit

Permalink
ctrl-k should be cut to line end
Browse files Browse the repository at this point in the history
  • Loading branch information
WindSoilder committed Sep 12, 2024
1 parent 7af8959 commit 1e4353b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edit_mode/emacs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn default_emacs_keybindings() -> Keybindings {
edit_bind(EC::PasteCutBufferBefore),
);
kb.add_binding(KM::CONTROL, KC::Char('w'), edit_bind(EC::CutWordLeft));
kb.add_binding(KM::CONTROL, KC::Char('k'), edit_bind(EC::CutToEnd));
kb.add_binding(KM::CONTROL, KC::Char('k'), edit_bind(EC::CutToLineEnd));
kb.add_binding(KM::CONTROL, KC::Char('u'), edit_bind(EC::CutFromStart));
kb.add_binding(KM::ALT, KC::Char('d'), edit_bind(EC::CutWordRight));
// Edits
Expand Down

0 comments on commit 1e4353b

Please sign in to comment.