[kitty|nvim] Add kitty buffer editing in nvim
This commit is contained in:
1 parent
8e6546f468
commit
2da3fea10d
3 files changed
+35
-6
No files matched your search
@@ -40,6 +40,10 @@ editor .
|
||||
close_on_child_death no
|
||||
allow_hyperlinks yes
|
||||
|
||||
allow_remote_control socket-only
|
||||
listen_on unix:/tmp/kitty
|
||||
shell_integrated enabled
|
||||
|
||||
# Keymaps
|
||||
map ctrl+a>q close_window
|
||||
map ctrl+a>minus launch --location=hsplit
|
||||
@@ -60,3 +64,13 @@ map ctrl+a>right resize_window wider
|
||||
map ctrl+a>up resize_window taller
|
||||
map ctrl+a>down resize_window shorter 3
|
||||
map ctrl+a>home resize_window reset
|
||||
|
||||
# Kittens
|
||||
# kitty-scrollback.nvim Kitten alias
|
||||
action_alias kitty_scrollback_nvim kitten '/home/benq/.local/share/nvim/benq/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
|
||||
Reference in new issue
Block a user