diff options
Diffstat (limited to 'kitty/kitty.conf')
| -rw-r--r-- | kitty/kitty.conf | 190 |
1 files changed, 190 insertions, 0 deletions
diff --git a/kitty/kitty.conf b/kitty/kitty.conf new file mode 100644 index 0000000..bfd1500 --- /dev/null +++ b/kitty/kitty.conf @@ -0,0 +1,190 @@ +# ============================================================ +# ~/.config/kitty/kitty.conf — gruvbox dark +# pairs with .tmux.conf +# ============================================================ + + +# ------------------------------------------------------------ +# font +# ------------------------------------------------------------ +font_family JetBrains Mono Regular +bold_font JetBrains Mono Bold +italic_font JetBrains Mono Italic +bold_italic_font JetBrains Mono Bold Italic + +font_size 13.0 + +# fine-tune spacing +adjust_line_height 2 +adjust_column_width 0 +disable_ligatures never + + +# ------------------------------------------------------------ +# gruvbox dark colour scheme +# ------------------------------------------------------------ + +# background / foreground +background #282828 +foreground #ebdbb2 +cursor #ebdbb2 +background_opacity 0.88 +# selection +selection_background #d79921 +selection_foreground #282828 + +# url underline +url_color #83a598 + +# black +color0 #282828 +color8 #928374 + +# red +color1 #cc241d +color9 #fb4934 + +# green +color2 #98971a +color10 #b8bb26 + +# yellow +color3 #d79921 +color11 #fabd2f + +# blue +color4 #458588 +color12 #83a598 + +# purple +color5 #b16286 +color13 #d3869b + +# cyan / aqua +color6 #689d6a +color14 #8ec07c + +# white +color7 #a89984 +color15 #ebdbb2 + + +# ------------------------------------------------------------ +# cursor +# ------------------------------------------------------------ +cursor_shape block +cursor_blink_interval 0 + + +# ------------------------------------------------------------ +# scrollback +# ------------------------------------------------------------ +scrollback_lines 10000 +scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER + + +# ------------------------------------------------------------ +# window / padding +# ------------------------------------------------------------ +window_padding_width 8 +placement_strategy center +hide_window_decorations no +remember_window_size yes +initial_window_width 220c +initial_window_height 50c + + +# ------------------------------------------------------------ +# tab bar — matches tmux status style +# ------------------------------------------------------------ +tab_bar_edge bottom +tab_bar_style powerline +tab_powerline_style slanted +tab_bar_background #3c3836 +tab_bar_margin_color #3c3836 + +tab_title_template "{index}:{title}" +active_tab_title_template "{index}:{title}" + +active_tab_foreground #282828 +active_tab_background #83a598 +active_tab_font_style bold + +inactive_tab_foreground #a89984 +inactive_tab_background #3c3836 +inactive_tab_font_style normal + + +# ------------------------------------------------------------ +# bell +# ------------------------------------------------------------ +enable_audio_bell no +visual_bell_duration 0.0 + + +# ------------------------------------------------------------ +# performance +# ------------------------------------------------------------ +repaint_delay 10 +input_delay 3 +sync_to_monitor yes +background_blur 19 + +# ------------------------------------------------------------ +# mouse +# ------------------------------------------------------------ +mouse_hide_wait 3.0 +focus_follows_mouse no +copy_on_select clipboard + + +# ------------------------------------------------------------ +# keyboard shortcuts +# ------------------------------------------------------------ +# clear defaults +clear_all_shortcuts no + +# copy / paste +map ctrl+shift+c copy_to_clipboard +map ctrl+shift+v paste_from_clipboard + +# font size +map ctrl+shift+equal change_font_size all +1.0 +map ctrl+shift+minus change_font_size all -1.0 +map ctrl+shift+0 change_font_size all 0 + +# tabs +map ctrl+shift+t new_tab_with_cwd +map ctrl+shift+w close_tab +map ctrl+shift+right next_tab +map ctrl+shift+left previous_tab +map ctrl+shift+1 goto_tab 1 +map ctrl+shift+2 goto_tab 2 +map ctrl+shift+3 goto_tab 3 +map ctrl+shift+4 goto_tab 4 +map ctrl+shift+5 goto_tab 5 + +# windows (kitty splits — complement to tmux panes) +map ctrl+shift+enter new_window_with_cwd +map ctrl+shift+] next_window +map ctrl+shift+[ previous_window + +# scrollback +map ctrl+shift+up scroll_line_up +map ctrl+shift+down scroll_line_down +map ctrl+shift+page_up scroll_page_up +map ctrl+shift+page_down scroll_page_down +map ctrl+shift+home scroll_home +map ctrl+shift+end scroll_end + +# reload config +map ctrl+shift+F5 load_config_file + +map ctrl+shift+s launch --title="ssh picker" --hold bash ~/.config/kitty/ssh_picker.sh + + + +# ------------------------------------------------------------ +# shell integration +# ------------------------------------------------------------ +shell_integration enabled |
