54 lines
1.8 KiB
Text
54 lines
1.8 KiB
Text
font_family FiraCode NerdFont
|
|
tab_bar_style powerline
|
|
font_size 12.0
|
|
tab_bar_min_tabs 1
|
|
tab_powerline_style slanted
|
|
map ctrl+g kitten hints --type=linenum --linenum-action=background sh -c "nvim_remote +{line} {path}"
|
|
tab_bar_edge top
|
|
include ./theme.conf
|
|
map shift+f1 new_tab
|
|
map shift+f2 new_tab_with_cwd
|
|
map ctrl+shift+w no_op
|
|
map alt+>, no_op
|
|
map alt+< no_op
|
|
allow_remote_control yes
|
|
listen_on unix:@mykitty
|
|
|
|
enabled_layouts splits
|
|
|
|
map shift+f3 new_tab_with_cwd
|
|
|
|
# Create a new window splitting the space used by the existing one so that
|
|
# the two windows are placed one above the other
|
|
map shift+f5 launch --location=hsplit --cwd=current
|
|
|
|
# Create a new window splitting the space used by the existing one so that
|
|
# the two windows are placed side by side
|
|
map shift+f6 launch --location=vsplit --cwd=current
|
|
|
|
# Create a new window splitting the space used by the existing one so that
|
|
# the two windows are placed side by side if the existing window is wide or
|
|
# one above the other if the existing window is tall.
|
|
map shift+f4 launch --location=split --cwd=current
|
|
|
|
# Rotate the current split, changing its split axis from vertical to
|
|
# horizontal or vice versa
|
|
map shift+f7 layout_action rotate
|
|
|
|
# Move the active window in the indicated direction
|
|
map shift+up move_window up
|
|
map shift+left move_window left
|
|
map shift+right move_window right
|
|
map shift+down move_window down
|
|
|
|
# Move the active window to the indicated screen edge
|
|
map ctrl+shift+up layout_action move_to_screen_edge top
|
|
map ctrl+shift+left layout_action move_to_screen_edge left
|
|
map ctrl+shift+right layout_action move_to_screen_edge right
|
|
map ctrl+shift+down layout_action move_to_screen_edge bottom
|
|
|
|
# Switch focus to the neighboring window in the indicated direction
|
|
map ctrl+left neighboring_window left
|
|
map ctrl+right neighboring_window right
|
|
map ctrl+up neighboring_window up
|
|
map ctrl+down neighboring_window down
|