aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
authorDylan Bulfin2023-02-02 19:49:17 +0000
committerGitHub2023-02-02 19:49:17 +0000
commit61e1e6160afe2c6d0f1b9060112929957bba4e5f (patch)
treec8f38e4c888ba0749184dcc8abae40a11ef897e7 /helix-term/src/ui
parentf0c2e898b49b2392d6d1ca02680e88b90e62017e (diff)
Removing C-j and C-k from completion menu navigation (#5070)
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r--helix-term/src/ui/menu.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/ui/menu.rs b/helix-term/src/ui/menu.rs
index da00aa89..3ae00703 100644
--- a/helix-term/src/ui/menu.rs
+++ b/helix-term/src/ui/menu.rs
@@ -252,12 +252,12 @@ impl<T: Item + 'static> Component for Menu<T> {
return EventResult::Consumed(close_fn);
}
// arrow up/ctrl-p/shift-tab prev completion choice (including updating the doc)
- shift!(Tab) | key!(Up) | ctrl!('p') | ctrl!('k') => {
+ shift!(Tab) | key!(Up) | ctrl!('p') => {
self.move_up();
(self.callback_fn)(cx.editor, self.selection(), MenuEvent::Update);
return EventResult::Consumed(None);
}
- key!(Tab) | key!(Down) | ctrl!('n') | ctrl!('j') => {
+ key!(Tab) | key!(Down) | ctrl!('n') => {
// arrow down/ctrl-n/tab advances completion choice (including updating the doc)
self.move_down();
(self.callback_fn)(cx.editor, self.selection(), MenuEvent::Update);