-
-
Notifications
You must be signed in to change notification settings - Fork 22
Kitty Integration
C.D. MacEachern edited this page Feb 27, 2023
·
5 revisions
Kitty integration requires shipping two external "kittens" (python file) to handle the navigation logic. These two python files need to copied into your kitty conf directory.
For example, running from the root directory of wherever Navigator.nvim is installed on your system (shown here paq-nvim):
cp lua/Navigator/mux/kitty/*.py ~/.config/kitty/
After copying the python files into the correct location, add to your kitty conf
allow_remote_control yes
# linux-only
listen_on unix:@mykitty
# macos-only:
# listen_on unix:/tmp/mykitty
# macos_options_as_alt both
map alt+h kitten pass_keys.py neighboring_window left alt+h
map alt+j kitten pass_keys.py neighboring_window bottom alt+j
map alt+k kitten pass_keys.py neighboring_window top alt+k
map alt+l kitten pass_keys.py neighboring_window right alt+l
map alt+p kitten pass_keys.py neighboring_window prev alt+p
Restart kitty, and enjoy!