87 lines
2.2 KiB
Plaintext
87 lines
2.2 KiB
Plaintext
include /home/joe/.config/kitty/theme.conf
|
|
|
|
font_size 13.0
|
|
|
|
adjust_line_height 4
|
|
adjust_column_width 0
|
|
|
|
window_resize_step_cells 3
|
|
window_resize_step_lines 3
|
|
|
|
window_border_width 1.5
|
|
draw_minimal_borders yes
|
|
window_margin_width 0.0
|
|
active_border_color #bbb
|
|
inactive_border_color #555
|
|
bell_border_color #ff5a00
|
|
inactive_text_alpha 1
|
|
hide_window_decorations yes
|
|
|
|
cursor_shape block
|
|
|
|
allow_remote_control yes
|
|
#: single_instance yes
|
|
listen_on unix:/tmp/kitty
|
|
|
|
window_padding_width 4
|
|
window_margin_width 2
|
|
|
|
tab_bar_style powerline
|
|
tab_powerline_style round
|
|
tab_bar_align left
|
|
|
|
sync_to_monitor yes
|
|
input_delay 3
|
|
|
|
scrollback_pager bash -c "exec nvim 63<&0 0</dev/null -u NONE -c 'map <silent> q :qa!<CR>' -c 'set shell=bash scrollback=100000 termguicolors laststatus=0 clipboard+=unnamedplus' -c 'autocmd TermEnter * stopinsert' -c 'autocmd TermClose * call cursor(max([0,INPUT_LINE_NUMBER-1])+CURSOR_LINE, CURSOR_COLUMN)' -c 'terminal sed </dev/fd/63 -e \"s/'$'\x1b'']8;;file:[^\]*[\]//g\" && sleep 0.01 && printf \"'$'\x1b'']2;\"'"
|
|
|
|
enabled_layouts tall,stack,fat,grid
|
|
|
|
|
|
kitty_mod ctrl+alt
|
|
|
|
map alt+f no_op
|
|
map alt+b no_op
|
|
|
|
map ctrl+shift+f1 show_kitty_doc overview
|
|
|
|
map kitty_mod+enter launch --cwd=current
|
|
map ctrl+alt+c load_config_file
|
|
|
|
map kitty_mod+m toggle_layout stack
|
|
map kitty_mod+shift+c next_layout
|
|
|
|
map kitty_mod+h neighboring_window left
|
|
map kitty_mod+j neighboring_window down
|
|
map kitty_mod+k neighboring_window up
|
|
map kitty_mod+l neighboring_window right
|
|
|
|
map ctrl+y paste_from_clipboard
|
|
|
|
map kitty_mod+p previous_tab
|
|
map kitty_mod+n next_tab
|
|
map kitty_mod+q close_tab
|
|
map kitty_mod+. move_tab_forward
|
|
map kitty_mod+, move_tab_backward
|
|
map alt+t>n new_tab
|
|
map alt+t>r set_tab_title
|
|
|
|
map kitty_mod+1 goto_tab 1
|
|
map kitty_mod+2 goto_tab 2
|
|
map kitty_mod+3 goto_tab 3
|
|
map kitty_mod+4 goto_tab 4
|
|
map kitty_mod+5 goto_tab 5
|
|
map kitty_mod+6 goto_tab 6
|
|
map kitty_mod+7 goto_tab 7
|
|
map kitty_mod+8 goto_tab 8
|
|
map kitty_mod+9 goto_tab 9
|
|
|
|
map kitty_mod+e show_scrollback
|
|
|
|
map kitty_mod+shift+k move_window up
|
|
map kitty_mod+shift+h move_window left
|
|
map kitty_mod+shift+l move_window right
|
|
map kitty_mod+shift+j move_window down
|
|
|
|
#: map f1 launch --type overlay --stdin-add-formatting --stdin-source=@screen_scrollback ~/.config/kitty/pager.sh
|