Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make Control-w and alt-backspace behave more like bash #632

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! control-w behaviour is not common between vi_insert and emacs
  • Loading branch information
alsuren committed Sep 9, 2023
commit 1f64b679d2e4dce18c8c4602f3312d303e52352a
1 change: 0 additions & 1 deletion src/edit_mode/keybindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,5 +193,4 @@ pub fn add_common_edit_bindings(kb: &mut Keybindings) {
kb.add_binding(KM::CONTROL, KC::Delete, edit_bind(EC::DeleteWord));
// Base commands should not affect cut buffer
kb.add_binding(KM::CONTROL, KC::Char('h'), edit_bind(EC::Backspace));
kb.add_binding(KM::CONTROL, KC::Char('w'), edit_bind(EC::BackspaceWord));
}