From 7a31cb8df2f29da6efc00c37ccf355f5a83b03bb Mon Sep 17 00:00:00 2001 From: Jidbo Date: Sat, 19 Dec 2020 19:39:32 +0100 Subject: [PATCH] add kitty config --- install.conf.yaml | 2 + kitty/colors.conf | 63 ++++++++++++++++++++++++++ kitty/kitty.conf | 103 ++++++++++++++++++++++++++++++++++++++++++ kitty/startup_session | 1 + 4 files changed, 169 insertions(+) create mode 100644 kitty/colors.conf create mode 100644 kitty/kitty.conf create mode 100644 kitty/startup_session diff --git a/install.conf.yaml b/install.conf.yaml index 85f09fb..ff5459f 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -15,6 +15,8 @@ path: vim/vim ~/.config/nvim: path: nvim + ~/.config/kitty: + path: kitty - shell: # install ohmyzsh diff --git a/kitty/colors.conf b/kitty/colors.conf new file mode 100644 index 0000000..603a977 --- /dev/null +++ b/kitty/colors.conf @@ -0,0 +1,63 @@ +background #1D1D19 +foreground #F8F8F2 +cursor #F8F8F2 + +# Black +color0 #1D1D19 +color8 #1D1D19 + +# Red +color1 #EE4F84 +color9 #F48FB1 + +# Green +color2 #53E2AE +color10 #A1EFD3 + +# Yellow +color3 #F1FF52 +color11 #F1FA8C + +# Blue +color4 #6498EF +color12 #92B6F4 + +# Magenta +color5 #985EFF +color13 #BD99FF + +# Cyan +color6 #24D1E7 +color14 #87DFEB + +# White +color7 #E5E5E5 +color15 #F8F8F2 + + + +# The foreground for selections +selection_foreground #F8F8F2 + +# The background for selections +selection_background #8ab4f2 + +# Emacs terminal background +color17 #323F4E + +# Emacs terminal modeline +color23 #1a1a1a + +# The color for the border of the active window +active_border_color #F1FA8C + +# The color for the border of inactive windows +inactive_border_color #56687E + +url_color #6498EF + +active_tab_foreground #F8F8F2 +active_tab_background #24D1E7 +inactive_tab_foreground #F8F8F2 +inactive_tab_background #1a1a1a + diff --git a/kitty/kitty.conf b/kitty/kitty.conf new file mode 100644 index 0000000..36c8c7d --- /dev/null +++ b/kitty/kitty.conf @@ -0,0 +1,103 @@ +# Colors +include colors.conf + +startup_session startup_session + +# Fonts +font_family MesloLGS NF +italic_font auto +bold_font auto +bold_italic_font auto +font_size 10.5 + +adjust_line_height 0 +adjust_column_width 0 +box_drawing_scale 0.001, 1, 1.5, 2 + +# Cursor +cursor_shape block +cursor_blink_interval -1 +cursor_stop_blinking_after 15.0 + +# Scrollback +scrollback_lines 10000 +scrollback_pager usr/bin/less +wheel_scroll_multiplier 5.0 + +# URLs +url_style double +open_url_modifiers ctrl+shift +open_url_with default +copy_on_select yes + +# Selection +rectangle_select_modifiers ctrl+shift +select_by_word_characters :@-./_~?&=%+# + +# Mouse +click_interval 0.5 +mouse_hide_wait 0.5 +focus_follows_mouse no + +# Performance +repaint_delay 20 +input_delay 2 +sync_to_monitor no + +# Bell +visual_bell_duration 0.0 +enable_audio_bell no +bell_on_tab no + +# Window +remember_window_size no +initial_window_width 700 +initial_window_height 400 +window_border_width 0 +window_margin_width 0 +window_padding_width 0 +inactive_text_alpha 1.0 +background_opacity 1 +placement_strategy center +hide_window_decorations yes + +# Layouts +enabled_layouts * + +# Tabs +tab_bar_edge bottom +tab_bar_style powerline +tab_bar_margin_width 0 +tab_separator " ┇ " +active_tab_font_style bold +inactive_tab_font_style normal + +# Shell +shell . +close_on_child_death no +allow_remote_control yes +term xterm-kitty + +# Keys +map alt+v paste_from_clipboard +map ctrl+shift+s paste_from_selection +map alt+c copy_to_clipboard +map shift+insert paste_from_selection + +map ctrl+shift+up scroll_line_up +map ctrl+shift+down scroll_line_down +map ctrl+shift+k scroll_line_up +map ctrl+shift+j scroll_line_down +map ctrl+shift+page_up scroll_page_up +map ctrl+shift+page_down scroll_page_down +map ctrl+shift+h show_scrollback + +map f11 toggle_fullscreen + +map ctrl+shift+enter new_window +map ctrl+shift+n new_os_window + +map ctrl+shift+equal increase_font_size +map ctrl+shift+minus decrease_font_size +map ctrl+shift+backspace restore_font_size + diff --git a/kitty/startup_session b/kitty/startup_session new file mode 100644 index 0000000..5d62418 --- /dev/null +++ b/kitty/startup_session @@ -0,0 +1 @@ +launch tmuxinator random