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_family FiraCode Nerd Font
font_size 15.0 font_size 15.0
disable_ligatures never disable_ligatures never
scrollback_pager nvim -c 'setlocal number|Man!' -c "autocmd VimEnter * normal G" -
enable_audio_bell no enable_audio_bell no
visual_bell_duration 0.01 visual_bell_duration 0.01
visual_bell_color yellow visual_bell_color yellow
@ -20,21 +19,24 @@ listen_on unix:///tmp/kitty.sock
env KITTY_TERM=TRUE env KITTY_TERM=TRUE
shell_integration enabled shell_integration enabled
# kitty-scrollback.nvim Kitten alias # urls
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 url_color #4d87bd
url_style curly
# Browse scrollback buffer in nvim detect_urls yes
map kitty_mod+h kitty_scrollback_nvim show_hyperlink_targets yes
# Browse output of the last shell command in nvim underline_hyperlinks always
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
map alt+e next_tab map alt+e next_tab
map alt+q previous_tab map alt+q previous_tab
# i want that for neovim # i want that for neovim
map ctrl+shift+s no_op map ctrl+shift+s no_op
# manual fullscreen
map shift+alt+f11 toggle_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