Skip to content

Commit

Permalink
ctrl-k should be cut to line end (#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
WindSoilder authored Sep 24, 2024
1 parent 2a57906 commit 4096b93
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 4096b93

Please sign in to comment.