Created
April 4, 2022 23:40
-
-
Save cmuench/68a5720f884416746f0b1d56e0167f53 to your computer and use it in GitHub Desktop.
Kitty Beispiel Konfiguration
This file contains hidden or 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
# vim:fileencoding=utf-8:foldmethod=marker | |
# Create a new window splitting the space used by the existing one so that | |
# the two windows are placed one above the other | |
map super+alt+d launch --location=hsplit --cwd=current | |
# Create a new window splitting the space used by the existing one so that | |
# the two windows are placed side by side | |
map super+alt+r launch --location=vsplit --cwd=current | |
# Switch focus to the neighboring window in the indicated direction | |
map cmd+left neighboring_window left | |
map cmd+right neighboring_window right | |
map cmd+up neighboring_window up | |
map cmd+down neighboring_window down | |
# Resize window | |
map ctrl+shift+left resize_window wider | |
map ctrl+shift+right resize_window narrower | |
map ctrl+shift+up resize_window taller | |
map ctrl+shift+down resize_window shorter 3 | |
# reset all windows in the tab to default sizes | |
map ctrl+home resize_window reset | |
# Macos left/right | |
map alt+left send_text all \x1b\x62 | |
map alt+right send_text all \x1b\x66 | |
map pos1 send_text all \x01 | |
map end send_text all \x05 | |
# Open new window in the PWD of the current window | |
map cmd+enter new_window_with_cwd |
This file contains hidden or 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
# vim:fileencoding=utf-8:foldmethod=marker | |
enable_audio_bell no | |
detect_urls yes | |
font_size 16.0 | |
#background_opacity 0.95 | |
#: Additional characters to be disallowed from URLs, when detecting | |
#: URLs under the mouse cursor. By default, all characters legal in | |
#: URLs are allowed. | |
copy_on_select yes | |
# Rotate the current split, chaging its split axis from vertical to | |
# horizontal or vice versa | |
map F7 layout_action rotate | |
# Change theme light F9 / F10 | |
map F9 launch kitty +kitten themes --reload-in=all Material | |
map F10 launch kitty +kitten themes --reload-in=all Galaxy | |
#enabled_layouts splits:split_axis=vertical | |
# switch between next and previous splits | |
map shift+right next_tab | |
map ctrl+page_up next_tab | |
map shift+left previous_tab | |
map ctrl+page_down previous_tab | |
# Move the active window in the indicated direction | |
map ctrl+up move_window up | |
map ctrl+left move_window left | |
map ctrl+right move_window right | |
map ctrl+down move_window down | |
# Text size | |
map ctrl+shift+0 change_font_size all 0 | |
map ctrl+shift+9 change_font_size all +10 |
This file contains hidden or 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
# vim:fileencoding=utf-8:foldmethod=marker | |
font_family MesloLGS NF | |
linux_display_server auto | |
map super+alt+d launch --location=hsplit --cwd=current | |
map super+alt+r launch --location=vsplit --cwd=current | |
# Switch focus to the neighboring window in the indicated direction | |
map alt+left neighboring_window left | |
map alt+right neighboring_window right | |
map alt+up neighboring_window up | |
map alt+down neighboring_window down | |
# Resize window | |
map ctrl+shift+left resize_window wider | |
map ctrl+shift+right resize_window narrower | |
map ctrl+shift+up resize_window taller | |
map ctrl+shift+down resize_window shorter 3 | |
# reset all windows in the tab to default sizes | |
map ctrl+shift+home resize_window reset | |
# Open new window in the PWD of the current window | |
map alt+enter new_window_with_cwd |
This file contains hidden or 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
include _general.conf | |
include _linux.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment