From 548f11b8e4ebe95cedef5fb3ecb9eb6511ed6bc7 Mon Sep 17 00:00:00 2001 From: David Fo Date: Sat, 11 Jul 2026 17:45:27 +0200 Subject: [PATCH] clean up kitty --- kitty/kitty.conf | 24 ++++++--- kitty/linux.conf | 10 ++++ kitty/macos.conf | 87 ++++++++++++++++++++++++++++++ kitty/maps.conf | 115 ---------------------------------------- kitty/nerd-symbols.conf | 51 ------------------ kitty/tabs.conf | 28 ---------- 6 files changed, 113 insertions(+), 202 deletions(-) delete mode 100644 kitty/maps.conf delete mode 100644 kitty/nerd-symbols.conf delete mode 100644 kitty/tabs.conf diff --git a/kitty/kitty.conf b/kitty/kitty.conf index a8f9aef..2a6cba3 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -1,10 +1,7 @@ include ./themes/catppuccin.conf -include ./nerd-symbols.conf -include ./maps.conf -include ./tabs.conf # -# appearance +# general # font_family Iosevka Term @@ -23,18 +20,29 @@ shell_integration no-cursor placement_strategy top-left box_drawing_scale 0.1, 0.1, 0.1, 0.1 +tab_bar_edge bottom +tab_bar_style separator +tab_separator "" +tab_bar_min_tabs 2 +tab_title_template " {title} " +active_tab_font_style bold + # -# performance +# maps # -repaint_delay 1 -input_delay 1 -sync_to_monitor yes +map ctrl+shift+r load_config_file +map ctrl+shift+t new_tab_with_cwd +map ctrl+equal change_font_size all +2.0 +map ctrl+minus change_font_size all -2.0 # # misc # +repaint_delay 1 +input_delay 1 +sync_to_monitor yes enable_audio_bell no confirm_os_window_close 0 allow_remote_control yes diff --git a/kitty/linux.conf b/kitty/linux.conf index bb60a59..217c8cc 100644 --- a/kitty/linux.conf +++ b/kitty/linux.conf @@ -1,3 +1,13 @@ text_composition_strategy legacy wayland_enable_ime no font_size 16 + +map alt+1 goto_tab 1 +map alt+2 goto_tab 2 +map alt+3 goto_tab 3 +map alt+4 goto_tab 4 +map alt+5 goto_tab 5 +map alt+6 goto_tab 6 +map alt+7 goto_tab 7 +map alt+8 goto_tab 8 +map alt+9 goto_tab 9 diff --git a/kitty/macos.conf b/kitty/macos.conf index c6ee6bf..a1ab3db 100644 --- a/kitty/macos.conf +++ b/kitty/macos.conf @@ -6,3 +6,90 @@ macos_option_as_alt no macos_quit_when_last_window_closed no hide_window_decorations titlebar-only font_size 22 + +map cmd+1 goto_tab 1 +map cmd+2 goto_tab 2 +map cmd+3 goto_tab 3 +map cmd+4 goto_tab 4 +map cmd+5 goto_tab 5 +map cmd+6 goto_tab 6 +map cmd+7 goto_tab 7 +map cmd+8 goto_tab 8 +map cmd+9 goto_tab 9 + +# letters +map cmd+a send_text all \ea +map cmd+b send_text all \eb +map cmd+c send_text all \ec +map cmd+d send_text all \ed +map cmd+e send_text all \ee +map cmd+f send_text all \ef +map cmd+g send_text all \eg +map cmd+h send_text all \eh +map cmd+i send_text all \ei +map cmd+j send_text all \ej +map cmd+k send_text all \ek +map cmd+l send_text all \el +map cmd+m send_text all \em +map cmd+n send_text all \en +map cmd+o send_text all \eo +map cmd+p send_text all \ep +# map cmd+q send_text all \eq +map cmd+r send_text all \er +map cmd+s send_text all \es +map cmd+t send_text all \et +map cmd+u send_text all \eu +map cmd+v send_text all \ev +map cmd+w send_text all \ew +map cmd+x send_text all \ex +map cmd+y send_text all \ey +map cmd+z send_text all \ez + +# letters +map shift+cmd+a send_text all \eA +map shift+cmd+b send_text all \eB +map shift+cmd+c send_text all \eC +map shift+cmd+d send_text all \eD +map shift+cmd+e send_text all \eE +map shift+cmd+f send_text all \eF +map shift+cmd+g send_text all \eG +map shift+cmd+h send_text all \eH +map shift+cmd+i send_text all \eI +map shift+cmd+j send_text all \eJ +map shift+cmd+k send_text all \eK +map shift+cmd+l send_text all \eL +map shift+cmd+m send_text all \eM +map shift+cmd+n send_text all \eN +map shift+cmd+o send_text all \eO +map shift+cmd+p send_text all \eP +# map shift+cmd+q send_text all \eQ +map shift+cmd+r send_text all \eR +map shift+cmd+s send_text all \eS +map shift+cmd+t send_text all \eT +map shift+cmd+u send_text all \eU +map shift+cmd+v send_text all \eV +map shift+cmd+w send_text all \eW +map shift+cmd+x send_text all \eX +map shift+cmd+y send_text all \eY +map shift+cmd+z send_text all \eZ + +# symbols +map cmd+; send_text all \e; +map cmd+: send_text all \e: +map cmd+, send_text all \e, +map cmd+. send_text all \e. +map cmd+( send_text all \e( +map cmd+) send_text all \e) +map cmd+* send_text all \e* + +# numbers +map cmd+1 send_text all \e1 +map cmd+2 send_text all \e2 +map cmd+3 send_text all \e3 +map cmd+4 send_text all \e4 +map cmd+5 send_text all \e5 +map cmd+6 send_text all \e6 +map cmd+7 send_text all \e7 +map cmd+8 send_text all \e8 +map cmd+9 send_text all \e9 +map cmd+0 send_text all \e0 diff --git a/kitty/maps.conf b/kitty/maps.conf deleted file mode 100644 index 96360e0..0000000 --- a/kitty/maps.conf +++ /dev/null @@ -1,115 +0,0 @@ -# -# general -# - -map ctrl+shift+r load_config_file -map ctrl+equal change_font_size all +2.0 -map ctrl+minus change_font_size all -2.0 - -# -# cmd to alt -# - -# letters -map cmd+a send_text all \ea -map cmd+b send_text all \eb -map cmd+c send_text all \ec -map cmd+d send_text all \ed -map cmd+e send_text all \ee -map cmd+f send_text all \ef -map cmd+g send_text all \eg -map cmd+h send_text all \eh -map cmd+i send_text all \ei -map cmd+j send_text all \ej -map cmd+k send_text all \ek -map cmd+l send_text all \el -map cmd+m send_text all \em -map cmd+n send_text all \en -map cmd+o send_text all \eo -map cmd+p send_text all \ep -# map cmd+q send_text all \eq -map cmd+r send_text all \er -map cmd+s send_text all \es -map cmd+t send_text all \et -map cmd+u send_text all \eu -map cmd+v send_text all \ev -map cmd+w send_text all \ew -map cmd+x send_text all \ex -map cmd+y send_text all \ey -map cmd+z send_text all \ez - -# letters -map shift+cmd+a send_text all \ea -map shift+cmd+b send_text all \eb -map shift+cmd+c send_text all \ec -map shift+cmd+d send_text all \ed -map shift+cmd+e send_text all \ee -map shift+cmd+f send_text all \ef -map shift+cmd+g send_text all \eg -map shift+cmd+h send_text all \eh -map shift+cmd+i send_text all \ei -map shift+cmd+j send_text all \ej -map shift+cmd+k send_text all \ek -map shift+cmd+l send_text all \el -map shift+cmd+m send_text all \em -map shift+cmd+n send_text all \en -map shift+cmd+o send_text all \eo -map shift+cmd+p send_text all \ep -# map shift+cmd+q send_text all \eq -map shift+cmd+r send_text all \er -map shift+cmd+s send_text all \es -map shift+cmd+t send_text all \et -map shift+cmd+u send_text all \eu -map shift+cmd+v send_text all \ev -map shift+cmd+w send_text all \ew -map shift+cmd+x send_text all \ex -map shift+cmd+y send_text all \ey -map shift+cmd+z send_text all \ez - -# letters -map shift+cmd+a send_text all \eA -map shift+cmd+b send_text all \eB -map shift+cmd+c send_text all \eC -map shift+cmd+d send_text all \eD -map shift+cmd+e send_text all \eE -map shift+cmd+f send_text all \eF -map shift+cmd+g send_text all \eG -map shift+cmd+h send_text all \eH -map shift+cmd+i send_text all \eI -map shift+cmd+j send_text all \eJ -map shift+cmd+k send_text all \eK -map shift+cmd+l send_text all \eL -map shift+cmd+m send_text all \eM -map shift+cmd+n send_text all \eN -map shift+cmd+o send_text all \eO -map shift+cmd+p send_text all \eP -# map shift+cmd+q send_text all \eQ -map shift+cmd+r send_text all \eR -map shift+cmd+s send_text all \eS -map shift+cmd+t send_text all \eT -map shift+cmd+u send_text all \eU -map shift+cmd+v send_text all \eV -map shift+cmd+w send_text all \eW -map shift+cmd+x send_text all \eX -map shift+cmd+y send_text all \eY -map shift+cmd+z send_text all \eZ - -map cmd+; send_text all \e; -map cmd+: send_text all \e: -map cmd+, send_text all \e, -map cmd+. send_text all \e. -map cmd+( send_text all \e( -map cmd+) send_text all \e) -map cmd+* send_text all \e* - -# numbers -map cmd+1 send_text all \e1 -map cmd+2 send_text all \e2 -map cmd+3 send_text all \e3 -map cmd+4 send_text all \e4 -map cmd+5 send_text all \e5 -map cmd+6 send_text all \e6 -map cmd+7 send_text all \e7 -map cmd+8 send_text all \e8 -map cmd+9 send_text all \e9 -map cmd+0 send_text all \e0 diff --git a/kitty/nerd-symbols.conf b/kitty/nerd-symbols.conf deleted file mode 100644 index 349d20f..0000000 --- a/kitty/nerd-symbols.conf +++ /dev/null @@ -1,51 +0,0 @@ -# - Use additional nerd symbols -# See https://github.com/be5invis/Iosevka/issues/248 -# See https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points - -# Seti-UI + Custom -symbol_map U+E5FA-U+E6B2 Symbols Nerd Font - -# Devicons -symbol_map U+E700-U+E7C5 Symbols Nerd Font - -# Font Awesome -symbol_map U+F000-U+F2E0 Symbols Nerd Font - -# Font Awesome Extension -symbol_map U+E200-U+E2A9 Symbols Nerd Font - -# Material Design Icons -symbol_map U+F0001-U+F1AF0 Symbols Nerd Font - -# Weather -symbol_map U+E300-U+E3E3 Symbols Nerd Font - -# Octicons -symbol_map U+F400-U+F532,U+2665,U+26A1 Symbols Nerd Font - -# Powerline Symbols -# symbol_map U+E0A0-U+E0A2,U+E0B0-U+E0B3 Symbols Nerd Font - -# Powerline Extra Symbols -# symbol_map U+E0A3,U+E0B4-U+E0C8,U+E0CA,U+E0CC-U+E0D4 Symbols Nerd Font - -# IEC Power Symbols -symbol_map U+23FB-U+23FE,U+2B58 Symbols Nerd Font - -# Font Logos -symbol_map U+F300-U+F32F Symbols Nerd Font - -# Pomicons -symbol_map U+E000-U+E00A Symbols Nerd Font - -# Codicons -symbol_map U+EA60-U+EBEB Symbols Nerd Font - -# Additional sets -symbol_map U+E276C-U+E2771 Symbols Nerd Font # Heavy Angle Brackets -symbol_map U+2500-U+259F Symbols Nerd Font # Box Drawing - -# Some symbols not covered by Symbols Nerd Font -# nonicons contains icons in the range: U+F101-U+F27D -# U+F167 is HTML logo, but YouTube logo in Symbols Nerd Font -symbol_map U+F102,U+F116-U+F118,U+F12F,U+F13E,U+F1AF,U+F1BF,U+F1CF,U+F1FF,U+F20F,U+F21F-U+F220,U+F22E-U+F22F,U+F23F,U+F24F,U+F25F nonicons diff --git a/kitty/tabs.conf b/kitty/tabs.conf deleted file mode 100644 index 7061b06..0000000 --- a/kitty/tabs.conf +++ /dev/null @@ -1,28 +0,0 @@ -tab_bar_edge bottom -tab_bar_style separator -# tab_bar_margin_width 4.0 -# tab_bar_margin_height 10.0 10.0 -tab_separator "" -tab_bar_min_tabs 2 -tab_title_template " {title} " -active_tab_font_style bold - -map alt+1 goto_tab 1 -map alt+2 goto_tab 2 -map alt+3 goto_tab 3 -map alt+4 goto_tab 4 -map alt+5 goto_tab 5 -map alt+6 goto_tab 6 -map alt+7 goto_tab 7 -map alt+8 goto_tab 8 -map alt+9 goto_tab 9 - -map cmd+1 goto_tab 1 -map cmd+2 goto_tab 2 -map cmd+3 goto_tab 3 -map cmd+4 goto_tab 4 -map cmd+5 goto_tab 5 -map cmd+6 goto_tab 6 -map cmd+7 goto_tab 7 -map cmd+8 goto_tab 8 -map cmd+9 goto_tab 9 -- knotmirror 0.0.1