🎹 Keymap update

- Remove Ctrl+Shift+h map for scrollback
- Map kittyscrollback to F1
- Replace instances of Ctrl+Shift with kitty_mod
- Switch to MunsMan/kitty-navigator.nvim
- Ctrl+Shift+<vim-motions> hard-coded for switching windows
- Mappings now properly integrate with nvim
This commit is contained in:
2024-07-13 06:15:10 -04:00
parent 7805d10dbe
commit b594376a58
3 changed files with 45 additions and 32 deletions
+16
View File
@@ -0,0 +1,16 @@
from kittens.tui.handler import result_handler
from typing import List
from kitty.boss import Boss
def main():
pass
directions = ["right", "left", "top", "bottom"]
@result_handler(no_ui=True)
def handle_result(args: List[str], result: str, target_window_id: int, boss: Boss):
if len(args) == 2 and args[1] in directions:
boss.active_tab.neighboring_window(args[1])