165 lines
4.8 KiB
Plaintext
165 lines
4.8 KiB
Plaintext
# Global
|
|
font_family JetBrainsMono Nerd Font
|
|
font_size 10
|
|
bold_font auto
|
|
italic_font auto
|
|
bold_italic_font auto
|
|
|
|
background_opacity 0.7
|
|
|
|
confirm_os_window_close 0
|
|
|
|
enable_audio_bell no
|
|
|
|
#: Keyboard shortcuts {{{
|
|
|
|
map ctrl+v paste_from_clipboard
|
|
map ctrl+c copy_and_clear_or_interrupt
|
|
map ctrl+backspace send_text all \x17
|
|
|
|
# Scrolling
|
|
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+home scroll_home
|
|
map ctrl+shift+end scroll_end
|
|
map ctrl+shift+h show_scrollback
|
|
|
|
# Window management
|
|
map ctrl+shift+n new_os_window
|
|
map ctrl+w close_window
|
|
map ctrl+enter no_op
|
|
map ctrl+] next_window
|
|
map ctrl+[ previous_window
|
|
map alt+h move_window_forward
|
|
map alt+l move_window_backward
|
|
map alt+` move_window_to_top
|
|
map alt+1 first_window
|
|
map alt+2 second_window
|
|
map alt+3 third_window
|
|
map alt+4 fourth_window
|
|
map alt+5 fifth_window
|
|
map alt+6 sixth_window
|
|
map alt+7 seventh_window
|
|
map alt+8 eighth_window
|
|
map alt+9 ninth_window
|
|
|
|
map ctrl+- launch --location=hsplit
|
|
map ctrl+\ launch --location=vsplit
|
|
map F8 layout_action rotate
|
|
|
|
map shift+up move_window up
|
|
map shift+left move_window left
|
|
map shift+right move_window right
|
|
map shift+down move_window down
|
|
|
|
map ctrl+shift+left neighboring_window left
|
|
map ctrl+shift+right neighboring_window right
|
|
map ctrl+shift+up neighboring_window up
|
|
map ctrl+shift+down neighboring_window down
|
|
|
|
# Tab management
|
|
map ctrl+tab next_tab
|
|
map ctrl+shift+tab previous_tab
|
|
map ctrl+shift+t new_tab
|
|
map ctrl+q close_tab
|
|
map F2 set_tab_title
|
|
map ctrl+shift+l next_layout
|
|
map ctrl+shift+. move_tab_forward
|
|
map ctrl+shift+, move_tab_backward
|
|
|
|
# Miscellaneous
|
|
map ctrl+KP_Add increase_font_size
|
|
map ctrl+KP_Subtract decrease_font_size
|
|
map ctrl+KP_0 restore_font_size
|
|
map ctrl+f launch --location=hsplit --allow-remote-control kitty +kitten search.py @active-kitty-window-id
|
|
map f5 load_config_file
|
|
map f6 debug_config
|
|
|
|
#: Open kitty Website
|
|
|
|
map shift+cmd+/ open_url https://sw.kovidgoyal.net/kitty/
|
|
|
|
map shift+down kitten pass_keys.py neighboring_window bottom shift+down
|
|
map shift+up kitten pass_keys.py neighboring_window top shift+up
|
|
map shift+left kitten pass_keys.py neighboring_window left shift+left
|
|
map shift+right kitten pass_keys.py neighboring_window right shift+right
|
|
|
|
# the 3 here is the resize amount, adjust as needed
|
|
map ctrl+alt+down kitten pass_keys.py relative_resize down 3 ctrl+alt+down
|
|
map ctrl+alt+up kitten pass_keys.py relative_resize up 3 ctrl+alt+up
|
|
map ctrl+alt+left kitten pass_keys.py relative_resize left 3 ctrl+alt+left
|
|
map ctrl+alt+right kitten pass_keys.py relative_resize right 3 ctrl+alt+right
|
|
|
|
# kitty-scrollback.nvim Kitten alias
|
|
action_alias kitty_scrollback_nvim kitten $HOME/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py
|
|
|
|
# Browse scrollback buffer in nvim
|
|
map kitty_mod+h kitty_scrollback_nvim
|
|
# Browse output of the last shell command in nvim
|
|
map kitty_mod+g kitty_scrollback_nvim --config ksb_builtin_last_cmd_output
|
|
# Show clicked command output in nvim
|
|
mouse_map ctrl+shift+right press ungrabbed combine : mouse_select_command_output : kitty_scrollback_nvim --config ksb_builtin_last_visited_cmd_output
|
|
|
|
|
|
|
|
#colors
|
|
foreground #f8f8f2
|
|
background #282a36
|
|
selection_foreground #ffffff
|
|
selection_background #44475a
|
|
|
|
url_color #8be9fd
|
|
|
|
# black
|
|
color0 #21222c
|
|
color8 #6272a4
|
|
|
|
# red
|
|
color1 #ff5555
|
|
color9 #ff6e6e
|
|
|
|
# green
|
|
color2 #50fa7b
|
|
color10 #69ff94
|
|
|
|
# yellow
|
|
color3 #f1fa8c
|
|
color11 #ffffa5
|
|
|
|
# blue
|
|
color4 #bd93f9
|
|
color12 #d6acff
|
|
|
|
# magenta
|
|
color5 #ff79c6
|
|
color13 #ff92df
|
|
|
|
# cyan
|
|
color6 #8be9fd
|
|
color14 #a4ffff
|
|
|
|
# white
|
|
color7 #f8f8f2
|
|
color15 #ffffff
|
|
|
|
# Cursor colors
|
|
cursor #f8f8f2
|
|
cursor_text_color background
|
|
|
|
# Tab bar colors
|
|
active_tab_foreground #282a36
|
|
active_tab_background #f8f8f2
|
|
inactive_tab_foreground #282a36
|
|
inactive_tab_background #6272a4
|
|
|
|
# Marks
|
|
mark1_foreground #282a36
|
|
mark1_background #ff5555
|
|
|
|
# Splits/Windows
|
|
active_border_color #f8f8f2
|
|
inactive_border_color #6272a4
|
|
|