diff --git a/kitty.conf b/kitty.conf new file mode 100644 index 0000000..5f1028e --- /dev/null +++ b/kitty.conf @@ -0,0 +1,153 @@ +# vim:fileencoding=utf-8:ft=conf + +# Font family. You can also specify different fonts for the +# bold/italic/bold-italic variants. By default they are derived automatically, +# by the OSes font system. Setting them manually is useful for font families +# that have many weight variants like Book, Medium, Thick, etc. For example: +font_family Hack +italic_font auto +bold_font auto +bold_italic_font auto +# Font size (in pts) +font_size 14.0 +force_ltr yes +# The foreground color +foreground #ebdbb2 +# The background color +background #000000 +# background_opacity .9 +# dynamic_background_opacity yes +# for selections +selection_background #d4be98 +selection_foreground #1d2021 +# The cursor color +cursor #a89984 +# The cursor shape can be one of (block, beam, underline) +cursor_shape beam +# cursor_text_color background +# The interval (in seconds) at which to blink the cursor. Set to zero to +# disable blinking. +cursor_blink_interval 0.5 +# Stop blinking cursor after the specified number of seconds of keyboard inactivity. Set to +# zero or a negative number to never stop blinking. +cursor_stop_blinking_after 15.0 +# Number of lines of history to keep in memory for scrolling back +scrollback_lines 2000 +# Program with which to view scrollback in a new window. The scrollback buffer is passed as +# STDIN to this program. If you change it, make sure the program you use can +# handle ANSI escape sequences for colors and text formatting. +scrollback_pager less +G -R +# Wheel scroll multiplier (modify the amount scrolled by the mouse wheel) +wheel_scroll_multiplier 5.0 +# The interval between successive clicks to detect double/triple clicks (in seconds) +click_interval 0.5 +# Characters considered part of a word when double clicking. In addition to these characters +# any character that is marked as an alpha-numeric character in the unicode +# database will be matched. +select_by_word_characters :@-./_~?&=%+# +# Hide mouse cursor after the specified number of seconds of the mouse not being used. Set to +# zero or a negative number to disable mouse cursor hiding. +mouse_hide_wait 0.0 +mouse_hide_wait 0.0 +url_color #0087bd +url_style curly +open_url_with default +focus_follows_mouse no + +# tab Setting +tab_bar_edge top +tab_bar_margin_width 0.0 +tab_bar_style powerline +tab_activity_symbol none +tab_title_template "{bell_symbol}{activity_symbol} - {title}" +active_tab_background #1d2021 +active_tab_foreground #d4be98 +active_tab_font_style bold +inactive_tab_background #1d2021 +inactive_tab_foreground #a89984 +inactive_tab_font_style normal + +# Delay (in milliseconds) between screen updates. Decreasing it, increases fps +# at the cost of more CPU usage. The default value yields ~100fps which is more +# that sufficient for most uses. +# repaint_delay 10 +repaint_delay 10 +# Delay (in milliseconds) before input from the program running in the terminal +# is processed. Note that decreasing it will increase responsiveness, but also +# increase CPU usage and might cause flicker in full screen programs that +# redraw the entire screen on each loop, because kitty is so fast that partial +# screen updates will be drawn. +input_delay 3 +# Visual bell duration. Flash the screen when a bell occurs for the specified number of +# seconds. Set to zero to disable. +visual_bell_duration 0.0 +# Enable/disable the audio bell. Useful in environments that require silence. +enable_audio_bell yes +# The modifier keys to press when clicking with the mouse on URLs to open the URL +open_url_modifiers ctrl+shift +# The program with which to open URLs that are clicked on. The special value "default" means to +# use the operating system's default URL handler. +open_url_with default +# The value of the TERM environment variable to set +term xterm-kitty + + +# Window settings +window_border_width .1 +draw_minimal_borders yes +window_margin_width 0 +window_padding_width 0 +placement_strategy center +active_border_color #00ff00 +inactive_border_color #cccccc +remember_window_size no +initial_window_width 100c +initial_window_height 30c + +# The 16 terminal colors. + color0 #665c54 + color8 #928374 + color1 #ea6962 + color9 #ea6962 + color2 #a9b665 + color10 #a9b665 + color3 #e78a4e + color11 #d8a657 + color4 #7daea3 + color12 #7daea3 + color5 #d3869b + color13 #d3869b + color6 #89b482 + color14 #89b482 + color7 #d4be98 + color15 #d4be98 + +# Key mapping +# For a list of key names, see: http://www.glfw.org/docs/latest/group__keys.html +# For a list of modifier names, see: http://www.glfw.org/docs/latest/group__mods.html +# You can use the special action no_op to unmap a keyboard shortcut that is +# assigned in the default configuration. + +# Clipboard +map cmd+v paste_from_clipboard +map cmd+shift+s paste_from_selection +map cmd+c copy_to_clipboard +map cmd+insert paste_from_selection +# Tab management +map ctrl+shift+right next_tab +map ctrl+shift+left previous_tab +map ctrl+shift+t new_tab +# Miscellaneous +map ctrl+ + increase_font_size +map ctrl+ - decrease_font_size + + +# OS specific tweaks +hide_window_decorations no +macos_option_as_alt yes +macos_show_window_title_in window + +# Change the color of the kitty window's titlebar on macOS. A value of "system" +macos_titlebar_color #000000 + +allow_remote_control yes \ No newline at end of file