1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-31 12:07:48 +00:00

Fix the old ghostty keybinds

This commit is contained in:
RGBCube 2023-12-12 21:03:29 +03:00
parent 4814ac4011
commit ea35a8b772
No known key found for this signature in database

View file

@ -12,37 +12,40 @@ graphicalConfiguration {
c = "copy_to_clipboard"; c = "copy_to_clipboard";
v = "paste_from_clipboard"; v = "paste_from_clipboard";
# z = "scroll_to_prompt:-1"; z = "jump_to_prompt:-2";
# x = "scroll_to_prompt:1"; x = "jump_to_prompt:2";
down = "scroll_page_lines:1"; page_down = "scroll_page_down";
j = "scroll_page_lines:1"; down = "scroll_page_lines:1";
j = "scroll_page_lines:1";
up = "scroll_page_lines:-1"; page_up = "scroll_page_up";
k = "scroll_page_lines:-1"; up = "scroll_page_lines:-1";
k = "scroll_page_lines:-1";
home = "scroll_to_top"; home = "scroll_to_top";
end = "scroll_to_bottom"; end = "scroll_to_bottom";
# plus = "increase_font_size:2"; "physical:kp_enter" = "reset_font_size";
minus = "decrease_font_size:2"; "physical:kp_add" = "increase_font_size:1";
"physical:kp_subtract" = "decrease_font_size:1";
t = "new_tab"; t = "new_tab";
q = "close_surface"; q = "close_surface";
# "1" = "goto_tab:1"; "physical:one" = "goto_tab:1";
# "2" = "goto_tab:2"; "physical:two" = "goto_tab:2";
# "3" = "goto_tab:3"; "physical:three" = "goto_tab:3";
# "4" = "goto_tab:4"; "physical:four" = "goto_tab:4";
# "5" = "goto_tab:5"; "physical:five" = "goto_tab:5";
# "6" = "goto_tab:6"; "physical:six" = "goto_tab:6";
# "7" = "goto_tab:7"; "physical:seven" = "goto_tab:7";
# "8" = "goto_tab:8"; "physical:eight" = "goto_tab:8";
# "9" = "goto_tab:9"; "physical:nine" = "goto_tab:9";
# "0" = "goto_tab:10"; "physical:zero" = "goto_tab:10";
}) // (lib.mapAttrs' (name: value: lib.nameValuePair "ctrl+${name}" value) { }) // (lib.mapAttrs' (name: value: lib.nameValuePair "ctrl+${name}" value) {
tab = "next_tab"; "physical:tab" = "next_tab";
"shift+tab" = "previous_tab"; "shift+physical:tab" = "previous_tab";
}); });
shellIntegration.enable = false; shellIntegration.enable = false;