From 7bed4b7bdef4e65ce53cbb826a54a6d35dd02c93 Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 29 May 2021 20:40:22 +0200 Subject: [PATCH] kitty: add scrollback-to-vim keybind --- .config/kitty/kitty.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 247985b..8cb29a7 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -1125,7 +1125,8 @@ map kitty_mod+page_up scroll_page_up map kitty_mod+page_down scroll_page_down map kitty_mod+home scroll_home map kitty_mod+end scroll_end -# map kitty_mod+h show_scrollback +map kitty_mod+h show_scrollback +map kitty_mod+k launch --stdin-source=@screen_scrollback --type=overlay vim -R +":set nomod noma nolist colorcolumn=" - #: You can pipe the contents of the current screen + history buffer as #: STDIN to an arbitrary program using the ``launch`` function. For