clean up kitty conf and add scroll stuff

This commit is contained in:
Christoph J. Scherr 2024-11-13 21:55:02 +01:00
parent 0131eb3f8c
commit a4feb6d5c0
1 changed files with 14 additions and 12 deletions

View File

@ -1,7 +1,6 @@
font_family FiraCode Nerd Font
font_size 15.0
disable_ligatures never
scrollback_pager nvim -c 'setlocal number|Man!' -c "autocmd VimEnter * normal G" -
enable_audio_bell no
visual_bell_duration 0.01
visual_bell_color yellow
@ -20,21 +19,24 @@ listen_on unix:///tmp/kitty.sock
env KITTY_TERM=TRUE
shell_integration enabled
# kitty-scrollback.nvim Kitten alias
action_alias kitty_scrollback_nvim kitten /home/plex/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py --nvim-args /tmp/kitty_scrollback.sh
# 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
# urls
url_color #4d87bd
url_style curly
detect_urls yes
show_hyperlink_targets yes
underline_hyperlinks always
map alt+e next_tab
map alt+q previous_tab
# i want that for neovim
map ctrl+shift+s no_op
# manual fullscreen
map shift+alt+f11 toggle_fullscreen
# scrolling
map ctrl+shift+k scroll_page_up
map ctrl+shift+j scroll_page_down
touch_scroll_multiplier 2.5
wheel_scroll_multiplier 5.0