Update kitty

This commit is contained in:
elenapan 2024-12-14 01:04:40 +02:00
parent 2335c39f48
commit ac05c7d8d0
2 changed files with 161 additions and 66 deletions

View file

@ -1,44 +1,56 @@
background #323F4E
foreground #F8F8F2
cursor #F8F8F2
color0 #3D4C5F
color1 #F48FB1
color2 #A1EFD3
color3 #F1FA8C
color4 #92B6F4
color5 #BD99FF
color6 #87DFEB
color7 #F8F8F2
color8 #56687E
color9 #EE4F84
color10 #53E2AE
color11 #F1FF52
color12 #6498EF
color13 #985EFF
color14 #24D1E7
color15 #E5E5E5
background #101319
foreground #f4f3ee
cursor #f4f3ee
color0 #171b24
color1 #E34F4F
color2 #69bfce
color3 #e37e4f
color4 #5679E3
color5 #956dca
color6 #5599E2
color7 #f4f3ee
color8 #3A435A
color9 #DE2B2B
color10 #56B7C8
color11 #DE642B
color12 #3E66E0
color13 #885AC4
color14 #3F8CDE
color15 #DDDBCF
# The foreground for selections
selection_foreground #BD99FF
selection_foreground #956dca
# The background for selections
selection_background #3D4C5F
selection_background #171b24
# Emacs terminal background
color17 #323F4E
# Emacs terminal modeline
color23 #3D4C5F
# Emacs background
color17 #101319
# Emacs modeline
color23 #171b24
# Color 66 is set to the value of color0 even when bold.
# color66 #171b24
# The color for the border of the active window
active_border_color #F1FA8C
active_border_color #e37e4f
# The color for the border of inactive windows
inactive_border_color #56687E
inactive_border_color #3A435A
url_color #6498EF
url_color #3E66E0
active_tab_foreground #F8F8F2
active_tab_background #24D1E7
inactive_tab_foreground #F8F8F2
inactive_tab_background #3D4C5F
active_tab_foreground #f4f3ee
active_tab_background #3F8CDE
inactive_tab_foreground #f4f3ee
inactive_tab_background #171b24
tab_bar_background none
# Marks
mark1_foreground black
mark1_background #5599E2
mark2_foreground black
mark2_background #DDDBCF
mark3_foreground black
mark3_background #956dca

View file

@ -6,72 +6,132 @@ font_family monospace
italic_font auto
bold_font auto
bold_italic_font auto
font_size 10.0
font_size 12.0
adjust_line_height 0
adjust_line_height 6
adjust_column_width 0
force_ltr yes
disable_ligatures always
box_drawing_scale 0.001, 1, 1.5, 2
# Cursor
cursor_shape underline
cursor_shape beam
cursor_blink_interval 0
cursor_stop_blinking_after 15.0
cursor_beam_thickness 1.5
cursor_underline_thickness 2.0
# Scrollback
scrollback_lines 10000
scrollback_pager /usr/bin/less
# scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
scrollback_pager nvim -c 'setlocal buftype=nofile bufhidden=hide noswapfile nonumber norelativenumber nolist showtabline=0 foldcolumn=0|Man!' -c "autocmd VimEnter * normal G" -
scrollback_pager_history_size 0
wheel_scroll_multiplier 5.0
touch_scroll_multiplier 3.0
# URLs
url_style double
open_url_modifiers ctrl+shift
# open_url_modifiers ctrl+shift
open_url_with firefox
copy_on_select yes
url_prefixes http https file ftp
# Selection
rectangle_select_modifiers ctrl+shift
# rectangle_select_modifiers ctrl+alt
# terminal_select_modifiers shift
select_by_word_characters :@-./_~?&=%+#
copy_on_select yes
strip_trailing_spaces smart
# Mouse
click_interval 0.5
mouse_hide_wait 0
mouse_hide_wait 3.0
focus_follows_mouse no
pointer_shape_when_grabbed arrow
# Performance
repaint_delay 20
input_delay 2
repaint_delay 10
input_delay 1
sync_to_monitor no
resize_debounce_time 0
# resize_draw_strategy static
resize_in_steps no
# Bell
# Terminal bell
visual_bell_duration 0.0
enable_audio_bell no
window_alert_on_bell yes
command_on_bell none
# Window
remember_window_size no
initial_window_width 700
initial_window_height 400
window_resize_step_cells 2
window_resize_step_lines 2
# Can set 4 values for top, right, bottom and left.
window_border_width 0
window_margin_width 0
draw_minimal_borders yes
single_window_margin_width -1
window_margin_width 14
# Can set 4 values for top, right, bottom and left.
window_padding_width 0
inactive_text_alpha 1.0
# placement_strategy center
placement_strategy top-left
# hide_window_decorations yes
hide_window_decorations no
confirm_os_window_close 0
# Background
background_opacity 1.0
dynamic_background_opacity no
background_image none
# tiled or scaled
background_image_layout tiled
# linear interpolation for scaled images
background_image_linear no
background_tint 0.0
dim_opacity 0.75
# Layouts
enabled_layouts *
# Tabs
tab_bar_edge bottom
tab_bar_margin_width 6.0
tab_bar_min_tabs 2
tab_switch_strategy previous
tab_bar_style fade
tab_separator " ┇"
active_tab_font_style bold
inactive_tab_font_style normal
tab_title_template "{title}"
active_tab_title_template none
# Shell
# Shell and stuff
shell .
close_on_child_death no
editor .
close_on_child_death yes
# Causes fucky stuff to happen inside vim (scrolling related)
# term xterm-256color
# Remove control
# listen_on none
# listen_on "unix:/tmp/kitty_listen_on"
# listen_on "file://tmp/kitty_listen_on"
allow_remote_control yes
term xterm-256color
# Misc
update_check_interval 0
startup_session none
# TODO: add no-append ?
clipboard_control write-clipboard write-primary
linux_display_server auto
# Keys
kitty_mod ctrl+shift
# TODO make everything use kitty_mod
map ctrl+shift+v paste_from_clipboard
map ctrl+shift+s paste_from_selection
map ctrl+shift+c copy_to_clipboard
@ -83,28 +143,30 @@ 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+b scroll_page_up
map ctrl+shift+f scroll_page_down
map ctrl+shift+home scroll_home
map ctrl+shift+end scroll_end
map ctrl+shift+h show_scrollback
map ctrl+shift+enter new_window
map ctrl+shift+n new_os_window
map ctrl+shift+w close_window
map ctrl+shift+] next_window
map ctrl+shift+[ previous_window
map ctrl+shift+f move_window_forward
map ctrl+shift+b move_window_backward
map ctrl+shift+` move_window_to_top
map ctrl+shift+1 first_window
map ctrl+shift+2 second_window
map ctrl+shift+3 third_window
map ctrl+shift+4 fourth_window
map ctrl+shift+5 fifth_window
map ctrl+shift+6 sixth_window
map ctrl+shift+7 seventh_window
map ctrl+shift+8 eighth_window
map ctrl+shift+9 ninth_window
map ctrl+shift+0 tenth_window
# map ctrl+shift+enter new_window
# map ctrl+shift+n new_os_window
# map ctrl+shift+w close_window
# map ctrl+shift+] next_window
# map ctrl+shift+[ previous_window
# map ctrl+shift+f move_window_forward
# map ctrl+shift+b move_window_backward
# map ctrl+shift+` move_window_to_top
# map ctrl+shift+1 first_window
# map ctrl+shift+2 second_window
# map ctrl+shift+3 third_window
# map ctrl+shift+4 fourth_window
# map ctrl+shift+5 fifth_window
# map ctrl+shift+6 sixth_window
# map ctrl+shift+7 seventh_window
# map ctrl+shift+8 eighth_window
# map ctrl+shift+9 ninth_window
# map ctrl+shift+0 tenth_window
map ctrl+shift+right next_tab
map ctrl+shift+left previous_tab
@ -118,4 +180,25 @@ map ctrl+shift+alt+t set_tab_title
map ctrl+shift+equal increase_font_size
map ctrl+shift+minus decrease_font_size
map ctrl+shift+backspace restore_font_size
map ctrl+shift+f6 set_font_size 16.0
map ctrl+f6 set_font_size 14.0
map ctrl+shift+f6 set_font_size 10.0
# >>> Hints
# go to url
map ctrl+shift+g>u kitten hints
# copy url
map ctrl+shift+y>u kitten hints --program @
# go to file path
map ctrl+shift+g>p kitten hints --type path --program -
map ctrl+shift+g>shift+p kitten hints --multiple --type path --program -
# copy selected path
map ctrl+shift+y>p kitten hints --type path --program @
# go to any line
map ctrl+shift+g>l kitten hints --type line --program -
map ctrl+shift+g>shift+l kitten hints --multiple --type line --program -
# copy line
map ctrl+shift+y>l kitten hints --type line --program @
# copy multiple line
map ctrl+shift+y>shift+l kitten hints --multiple --type line --program @