Skip to content

Commit

Permalink
fix: remove potentially ambiguous keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrreadiness committed Jun 14, 2024
1 parent abfdf6f commit 8f3fdbe
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions wezterm-gui/src/overlay/copy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1208,14 +1208,12 @@ impl Pane for CopyOverlay {
| (KeyCode::RightArrow, KeyModifiers::NONE) => {
render.search_line.exec_movement(Movement::ForwardChar(1));
}
(KeyCode::Char('b'), KeyModifiers::CTRL)
| (KeyCode::ApplicationLeftArrow, KeyModifiers::ALT)
| (KeyCode::LeftArrow, KeyModifiers::ALT) => {
(KeyCode::ApplicationLeftArrow, KeyModifiers::CTRL)
| (KeyCode::LeftArrow, KeyModifiers::CTRL) => {
render.search_line.exec_movement(Movement::BackwardWord(1));
}
(KeyCode::Char('f'), KeyModifiers::CTRL)
| (KeyCode::ApplicationRightArrow, KeyModifiers::ALT)
| (KeyCode::RightArrow, KeyModifiers::ALT) => {
(KeyCode::ApplicationRightArrow, KeyModifiers::CTRL)
| (KeyCode::RightArrow, KeyModifiers::CTRL) => {
render.search_line.exec_movement(Movement::ForwardWord(1));
}
(KeyCode::Char('A'), KeyModifiers::CTRL) | (KeyCode::Home, KeyModifiers::NONE) => {
Expand Down

0 comments on commit 8f3fdbe

Please sign in to comment.