From 8b24f28820b2ec0e7a28e88af73651e9b7832f2e Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Thu, 5 Dec 2024 20:14:23 +0100 Subject: [PATCH] feat: add home screen bindings for helix mode --- src/keybind/builtin/helix.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/keybind/builtin/helix.json b/src/keybind/builtin/helix.json index 585534f..da9a8a1 100644 --- a/src/keybind/builtin/helix.json +++ b/src/keybind/builtin/helix.json @@ -266,7 +266,6 @@ ["ctrl+a", "increment"], ["ctrl+x", "decrement"], - ["ctrl+shift+p", "open_command_palette"], ["ctrl+shift+6", "open_previous_file"], ["alt+.", "repeat_last_motion"], @@ -299,8 +298,6 @@ ["alt+u", "undo"], ["alt+,", "remove_primary_selection"], - - ["alt+shift+p", "open_command_palette"], ["alt+shift+c", "copy_selection_on_next_line"], @@ -506,5 +503,16 @@ ["8", "add_count", 8], ["9", "add_count", 9] ] + }, + "home": { + "on_match_failure": "ignore", + "press": [ + [";", "open_command_palette"], + ["shift+;", "open_command_palette"], + ["b", "open_keybind_config"], + ["j", "home_menu_down"], + ["k", "home_menu_up"], + ["space", "home_menu_activate"] + ] } }