nixos-config/modules/home-manager/awesome/simple/kitty/config/kitty.conf
2024-07-13 02:54:22 +09:00

237 lines
5.0 KiB
Plaintext

# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
include "themes/FunForrest.conf"
#font_family FiraCode Nerd Font Mono
# symbol_map JetBrainsMono Nerd Font
font_family Comic Code Ligatures
bold_font auto
italic_font auto
bold_italic_font auto
font_size 14
adjust_line_height 0
adjust_column_width 0
modify_font cell_height 110%
disable_ligatures never
box_drawing_scale 0.001, 1, 1.5, 2
cursor_shape underline
cursor_blink_interval 0
cursor_stop_blinking_after 15.0
scrollback_lines 2000
scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
scrollback_pager_history_size 0
wheel_scroll_multiplier 5.0
touch_scroll_multiplier 1.0
mouse_hide_wait 3.0
url_style single
open_url_with default
copy_on_select yes
strip_trailing_spaces smart
select_by_word_characters :@-./_~?&=%+#
click_interval -1.0
focus_follows_mouse no
repaint_delay 10
input_delay 3
sync_to_monitor no
enable_audio_bell yes
visual_bell_duration 0.0
window_alert_on_bell yes
bell_on_tab yes
command_on_bell none
remember_window_size yes
initial_window_width 640
initial_window_height 400
enabled_layouts grid
window_resize_step_cells 2
window_resize_step_lines 2
window_border_width 3.0
draw_minimal_borders yes
window_margin_width 0.0
single_window_margin_width -1000.0
window_padding_width 18.0
placement_strategy center
active_border_color #00ff00
inactive_border_color #cccccc
bell_border_color #ff5a00
inactive_text_alpha 1.0
hide_window_decorations no
resize_debounce_time 0.1
resize_draw_strategy static
tab_bar_edge bottom
tab_bar_margin_width 0.0
tab_bar_min_tabs 2
tab_switch_strategy previous
tab_separator " ┇"
#: The separator between tabs in the tab bar when using separator as
#: the tab_bar_style.
tab_title_template {title}
# background_opacity 0.70
background_opacity 0.80
dynamic_background_opacity no
dim_opacity 0.60
background #000000
foreground #ffffff
selection_background #364A82
selection_foreground #c0caf5
url_color #73daca
cursor #c0caf5
# Tabs
active_tab_background #7aa2f7
active_tab_foreground #1f2335
inactive_tab_background #292e42
inactive_tab_foreground #545c7e
#tab_bar_background #1D202F
Window borders
active_border_color #3d59a1
inactive_border_color #101014
bell_border_color #e0af68
# Tab bar
tab_bar_style fade
tab_fade 1
shell /usr/bin/zsh
shell_integration disabled
editor .
close_on_child_death no
allow_remote_control yes
listen_on unix:@mykitty
update_check_interval 0
startup_session none
clipboard_control write-clipboard write-primary
term xterm-kitty
linux_display_server auto
# kitty_mod ctrl+shift
kitty_mod alt
clear_all_shortcuts no
map kitty_mod+r no_op
map ctrl+shift+t new_tab_with_cwd
map kitty_mod+c copy_to_clipboard
map kitty_mod+v paste_from_clipboard
map kitty_mod+s paste_from_selection
map shift+insert paste_from_selection
map kitty_mod+o pass_selection_to_program
map kitty_mod+up scroll_line_up
map kitty_mod+k scroll_line_up
map kitty_mod+down scroll_line_down
map kitty_mod+j scroll_line_down
map kitty_mod+page_up scroll_page_up
map kitty_mod+page_down scroll_page_down
map kitty_mod+home scroll_home
map kitty_mod+end scroll_end
map kitty_mod+h show_scrollback
map kitty_mod+enter new_window
map kitty_mod+n new_os_window
map kitty_mod+w close_window
map kitty_mod+] next_window
map kitty_mod+[ previous_window
map kitty_mod+f move_window_forward
map kitty_mod+b move_window_backward
map kitty_mod+` move_window_to_top
map kitty_mod+shift+r start_resizing_window
map kitty_mod+1 first_window
map kitty_mod+2 second_window
map kitty_mod+3 third_window
map kitty_mod+4 fourth_window
map kitty_mod+5 fifth_window
map kitty_mod+6 sixth_window
map kitty_mod+7 seventh_window
map kitty_mod+8 eighth_window
map kitty_mod+9 ninth_window
map kitty_mod+0 tenth_window
#: }}}
include Treehouse.conf
#: Tab management {{{
map kitty_mod+d next_tab
map kitty_mod+left previous_tab
map kitty_mod+t new_tab
map kitty_mod+q close_tab
map kitty_mod+. move_tab_forward
map kitty_mod+, move_tab_backward
map kitty_mod+shift+t set_tab_title
map kitty_mod+l next_layout
map kitty_mod+equal change_font_size all +2.0
map kitty_mod+minus change_font_size all -2.0
map kitty_mod+backspace change_font_size all 0
map kitty_mod+e kitten hints
map kitty_mod+p>f kitten hints --type path --program -
map kitty_mod+p>shift+f kitten hints --type path
map kitty_mod+p>l kitten hints --type line --program -
map kitty_mod+p>w kitten hints --type word --program -
map kitty_mod+p>h kitten hints --type hash --program -
map kitty_mod+f11 toggle_fullscreen
map kitty_mod+f10 toggle_maximized
map kitty_mod+u kitten unicode_input
map kitty_mod+f2 edit_config_file
map kitty_mod+escape kitty_shell window
map kitty_mod+a>m set_background_opacity +0.1
map kitty_mod+a>l set_background_opacity -0.1
map kitty_mod+a>1 set_background_opacity 1
map kitty_mod+a>d set_background_opacity default
map kitty_mod+delete clear_terminal reset active
# }}}