add to your zsh/bashrc-File:
# kitty konfig
alias KITTYconf='echo -e "\tÖffne kitty Konfigurationsdatei" && \
gnome-text-editor --standalone --ignore-session \
"$XDG_CONFIG_HOME/kitty/kitty.conf" | \
micro -filetype sh "$XDG_CONFIG_HOME/kitty/kitty.conf"'
alias Kconf=KITTYconf
# kitty shortcuts
alias KITTYmap='echo -e "\tZeige alle Shortcuts (map) der kitty.conf" && \
bap-NoComment "$KITTY_CONFIG_DIRECTORY/kitty.conf"| grep "map"'
alias Kbind=KITTYmap
alias Kmap=KITTYmapA default configuration file can also be generated by running:
kitty +runpy 'from kitty.config import *; print(commented_out_default_config())'
This will print the commented out default config file to STDOUT.
** steht für "beliebige Unterverzeichnisebenen" (rekursiv).
*.conf matcht auf Dateien mit der Endung .conf.
Typische Nutzung: Man kann z. B. themenspezifische Konfigurationen (z. B. theme-dark.conf, keybinds.conf) in Unterordnern von kitty.d ablegen, und Kitty lädt sie automatisch.
text
~/share/kitty/ ├── kitty.conf (Hauptkonfiguration)
└── kitty.d/
├── themes/
│ ├── dark.conf
│ └── light.conf
└── keybinds.conf