mirror of
https://github.com/elenapan/dotfiles.git
synced 2025-12-26 15:14:58 +08:00
204 lines
5.4 KiB
Text
204 lines
5.4 KiB
Text
# Colors
|
|
include colors.conf
|
|
|
|
# Fonts
|
|
font_family monospace
|
|
italic_font auto
|
|
bold_font auto
|
|
bold_italic_font auto
|
|
font_size 12.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 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 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_with firefox
|
|
url_prefixes http https file ftp
|
|
|
|
# Selection
|
|
# 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 3.0
|
|
focus_follows_mouse no
|
|
pointer_shape_when_grabbed arrow
|
|
|
|
# Performance
|
|
repaint_delay 10
|
|
input_delay 1
|
|
sync_to_monitor no
|
|
resize_debounce_time 0
|
|
# resize_draw_strategy static
|
|
resize_in_steps no
|
|
|
|
# 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
|
|
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 and stuff
|
|
shell .
|
|
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
|
|
|
|
# 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
|
|
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+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+right next_tab
|
|
map ctrl+shift+left previous_tab
|
|
map ctrl+shift+t new_tab
|
|
map ctrl+shift+q close_tab
|
|
map ctrl+shift+l next_layout
|
|
map ctrl+shift+. move_tab_forward
|
|
map ctrl+shift+, move_tab_backward
|
|
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+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 @
|