mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 15:04:36 +03:00
palette: add CTRL-p / CTRL-n key bindings to move up/down
This commit is contained in:
parent
1596934132
commit
70d2829b79
@ -443,10 +443,10 @@ impl Modal for CommandPalette {
|
||||
(KeyCode::Escape, KeyModifiers::NONE) | (KeyCode::Char('g'), KeyModifiers::CTRL) => {
|
||||
term_window.cancel_modal();
|
||||
}
|
||||
(KeyCode::UpArrow, KeyModifiers::NONE) => {
|
||||
(KeyCode::UpArrow, KeyModifiers::NONE) | (KeyCode::Char('p'), KeyModifiers::CTRL) => {
|
||||
self.move_up();
|
||||
}
|
||||
(KeyCode::DownArrow, KeyModifiers::NONE) => {
|
||||
(KeyCode::DownArrow, KeyModifiers::NONE) | (KeyCode::Char('n'), KeyModifiers::CTRL) => {
|
||||
self.move_down();
|
||||
}
|
||||
(KeyCode::Char(c), KeyModifiers::NONE) | (KeyCode::Char(c), KeyModifiers::SHIFT) => {
|
||||
|
Loading…
Reference in New Issue
Block a user