dotfiles/native_configs/kitty/kitty.conf

112 lines
2.5 KiB
Plaintext
Raw Normal View History

2023-06-23 03:52:40 +00:00
# Font configuration
font_family Hack Nerd Font Mono
bold_font Hack Nerd Font Mono Bold
italic_font Hack Nerd Font Mono Italic
bold_italic_font Hack Nerd Font Mono Bold Italic
2023-06-23 06:36:52 +00:00
font_size 11.0
2023-06-23 03:52:40 +00:00
sync_to_monitor no
disable_ligatures never
# NO BELLS!
enable_audio_bell no
# theme gruvbox_dark
# include /themes/gruvbox_dark.conf
# window_margin_width 5.0
# window_padding_width 5.0
# I'm on Prime's team here, blinking cursor is too distracting
cursor_blink_interval 0
background #282c34
dynamic_background_opacity true
2023-06-23 06:36:52 +00:00
background_opacity 0.8
macos_traditional_fullscreen no
2023-06-23 03:52:40 +00:00
# from nvim-nonicons
# symbol_map U+f101-U+f208 nonicon regular
# No creating windows
2023-06-23 06:36:52 +00:00
map ctrl+shift+enter no_op
map cmd+enter no_op
2023-06-23 03:52:40 +00:00
# I don't understand why some of these have remaps on MacOS
2023-06-23 06:36:52 +00:00
map ctrl+shift+n no_op # new_os_window
map cmd+n no_op # new_os_window
2023-06-23 03:52:40 +00:00
map ctrl+shift+w close_window
2023-06-23 06:36:52 +00:00
map shft+cmd+d no_op # just disable any apple-linux segregation
2023-06-23 03:52:40 +00:00
# tabs
## Tab creation
map ctrl+shift+t new_tab
2023-06-23 06:36:52 +00:00
map cmd+t no_op
2023-06-23 03:52:40 +00:00
## No tab destruction
2023-06-23 06:36:52 +00:00
map ctrl+shift+q no_op
map ctrl+shift+w no_op
2023-06-23 03:52:40 +00:00
## No tab iteration
2023-06-23 06:36:52 +00:00
map ctrl+shift+right no_op # next_tab
map shift+cmd+] no_op # next_tab 🍎
map ctrl+tab no_op # next_tab
2023-06-23 03:52:40 +00:00
2023-06-23 06:36:52 +00:00
map ctrl+shift+left no_op # previous_tab
map shift+cmd+[ no_op # previous_tab 🍎
map ctrl+shift+tab no_op # previous_tab
2023-06-23 03:52:40 +00:00
2023-06-23 06:36:52 +00:00
## Tab linear jumping
2023-06-23 03:52:40 +00:00
map ctrl+1 goto_tab 1
map ctrl+2 goto_tab 2
map ctrl+3 goto_tab 3
map ctrl+4 goto_tab 4
map ctrl+5 goto_tab 5
2023-06-23 06:36:52 +00:00
map ctrl+6 goto_tab 6
map ctrl+7 goto_tab 7
map ctrl+8 goto_tab 8
map ctrl+9 goto_tab 9
map ctrl+0 goto_tab 10
### A bit ergonomics for mac
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
map cmd+0 goto_tab 10
## Just disable all iteration of tab - use linear mapping
map ctrl+shift+right no_op
map shift+cmd+] no_op
map ctrl+tab no_op
map ctrl+shift+left no_op
map shift+cmd+[ no_op
map ctrl+shift+tab no_op
2023-06-23 03:52:40 +00:00
## Titles
2023-06-23 06:36:52 +00:00
tab_fade 0.6 1
tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title}"
active_tab_font_style bold
active_tab_foreground #000000
active_tab_background #0e0e0e
inactive_tab_foreground #040404
inactive_tab_background #090909
2023-06-23 03:52:40 +00:00
map ctrl+shift+, set_tab_title
2023-06-23 06:36:52 +00:00
map ctrl+shift+alt+t no_op # set_tab_title
map shift+cmd+i no_op # set_tab_title
2023-06-23 03:52:40 +00:00
# map ctrl+shift+p>n kitten hints --type=linenum --linenum-action=tab nvim +{line} {path}
# I don't really have good way to ever press F1
# map f1 kitten hints --customize-processing hint_define_word.py