-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from SteavenGamerYT/patch-3
i tried to convert most keybindings from kitty to this new terminal
- Loading branch information
Showing
2 changed files
with
52 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,56 @@ | ||
[keyboard] | ||
bindings = [ | ||
# switch tabs | ||
{ key = "1", mods = "Control", chars = "\u00021" }, | ||
{ key = "2", mods = "Control", chars = "\u00022" }, | ||
{ key = "3", mods = "Control", chars = "\u00023" }, | ||
{ key = "4", mods = "Control", chars = "\u00024" }, | ||
{ key = "5", mods = "Control", chars = "\u00025" }, | ||
{ key = "6", mods = "Control", chars = "\u00026" }, | ||
{ key = "7", mods = "Control", chars = "\u00027" }, | ||
{ key = "8", mods = "Control", chars = "\u00028" }, | ||
{ key = "9", mods = "Control", chars = "\u00029" }, | ||
bindings = [ | ||
# Clipboard | ||
{ key = "V", mods = "Super", action = "Paste" }, | ||
{ key = "S", mods = "Control|Shift", action = "Paste" }, | ||
{ key = "C", mods = "Super", action = "Copy" }, | ||
{ key = "Insert", mods = "Shift", action = "PasteSelection" }, | ||
# { key = "C", mods = "Control", action = "Copy" }, # commented out | ||
{ key = "V", mods = "Control", action = "Paste" }, | ||
{ key = "Insert", mods = "Shift", action = "Paste" }, | ||
|
||
{ key = "T", mods = "Control", chars = "\u0002c" }, # create new window(aka tab) | ||
{ key = "T", mods = "Control|Shift", chars = "\u0002!" }, # break pane into new window | ||
# Scrolling | ||
{ key = "Up", mods = "Control|Shift", action = "ScrollLineUp" }, | ||
{ key = "Down", mods = "Control|Shift", action = "ScrollLineDown" }, | ||
{ key = "K", mods = "Control|Shift", action = "ScrollLineUp" }, | ||
{ key = "J", mods = "Control|Shift", action = "ScrollLineDown" }, | ||
{ key = "PageUp", mods = "Control|Shift", action = "ScrollPageUp" }, | ||
{ key = "PageDown", mods = "Control|Shift", action = "ScrollPageDown" }, | ||
{ key = "Home", mods = "Control|Shift", action = "ScrollToTop" }, | ||
{ key = "End", mods = "Control|Shift", action = "ScrollToBottom" }, | ||
# { key = "H", mods = "Control|Shift", action = "ShowScrollback" }, | ||
|
||
{ key = "Z", mods = "Control", chars = "\u0002z" }, # detach tmux session | ||
{ key = "W", mods = "Control", chars = "\u0002x" }, # close window/pane | ||
{ key = "N", mods = "Control|Shift", chars = "\u0002N" }, # open Floax | ||
{ key = "W", mods = "Control|Shift", chars = "\u0002w" }, # list windows | ||
{ key = "Q", mods = "Control|Shift", chars = "\u0002Q" }, # Quit Session | ||
# Window management | ||
# { key = "N", mods = "Super", action = "SpawnNewInstance" }, | ||
# { key = "W", mods = "Super", action = "Close" }, | ||
# { key = "Enter", mods = "Control|Shift", action = "SpawnNewInstance" }, | ||
# { key = "RightBracket", mods = "Control|Shift", action = "NextWindow" }, | ||
# { key = "LeftBracket", mods = "Control|Shift", action = "PreviousWindow" }, | ||
# { key = "F", mods = "Control|Shift", action = "MoveForward" }, | ||
# { key = "B", mods = "Control|Shift", action = "MoveBackward" }, | ||
# { key = "Grave", mods = "Control|Shift", action = "MoveToTop" }, | ||
# { key = "Key1", mods = "Control|Shift", action = "MoveToFirst" }, | ||
# { key = "Key2", mods = "Control|Shift", action = "MoveToSecond" }, | ||
# { key = "Key3", mods = "Control|Shift", action = "MoveToThird" }, | ||
# { key = "Key4", mods = "Control|Shift", action = "MoveToFourth" }, | ||
# { key = "Key5", mods = "Control|Shift", action = "MoveToFifth" }, | ||
# { key = "Key6", mods = "Control|Shift", action = "MoveToSixth" }, | ||
# { key = "Key7", mods = "Control|Shift", action = "MoveToSeventh" }, | ||
# { key = "Key8", mods = "Control|Shift", action = "MoveToEighth" }, | ||
# { key = "Key9", mods = "Control|Shift", action = "MoveToNinth" }, | ||
# { key = "Key0", mods = "Control|Shift", action = "MoveToTenth" }, | ||
|
||
{ key = "S", mods = "Control", chars = "\u0002%" }, # split window/pane vertically | ||
{ key = "S", mods = "Control|Shift", chars = "\u0002\"" }, # split window/pane horizontally | ||
# Tab management | ||
# { key = "Right", mods = "Control|Shift", action = "NextTab" }, | ||
# { key = "Left", mods = "Control|Shift", action = "PreviousTab" }, | ||
# { key = "T", mods = "Control|Shift", action = "SpawnNewTab" }, | ||
# { key = "Q", mods = "Control|Shift", action = "CloseTab" }, | ||
# { key = "L", mods = "Control|Shift", action = "NextLayout" }, | ||
# { key = "Period", mods = "Control|Shift", action = "MoveTabForward" }, | ||
# { key = "Comma", mods = "Control|Shift", action = "MoveTabBackward" }, | ||
|
||
{ key = "R", mods = "Control|Shift", chars = "\u0002r" }, # source config file | ||
{ key = "D", mods = "Control|Shift", chars = "\u0002d" }, # detach tmux session | ||
|
||
{ key = ";", mods = "Control|Shift", chars = "\u0002;" }, # navigate over to last pane | ||
{ key = ",", mods = "Control", chars = "\u0002," }, # rename the window | ||
{ key = "]", mods = "Control", chars = "\u0002]" }, # open sesh | ||
{ key = "f", mods = "Control", chars = "zi\n" }, # open zi | ||
# Miscellaneous | ||
{ key = "Up", mods = "Control|Shift", action = "IncreaseFontSize" }, | ||
{ key = "Down", mods = "Control|Shift", action = "DecreaseFontSize" }, | ||
{ key = "Backspace", mods = "Control|Shift", action = "ResetFontSize" }, | ||
] |