Browse Source

map ctrl+shift+p -> open scrollback buffer in editor

Fabian Peter Hammerle 3 years ago
parent
commit
037d06728c
1 changed files with 4 additions and 1 deletions
  1. 4 1
      kitty.conf

+ 4 - 1
kitty.conf

@@ -10,4 +10,7 @@ scrollback_pager_history_size 16
 # red border in i3 (termite's `urgent_on_bell`)
 window_alert_on_bell yes
 
-map ctrl+shift+XF86Calculator new_os_window_with_cwd ipython3
+# https://sw.kovidgoyal.net/kitty/conf.html#keyboard-shortcuts
+map kitty_mod+XF86Calculator new_os_window_with_cwd ipython3
+# https://sw.kovidgoyal.net/kitty/launch.html
+map kitty_mod+p launch --type=overlay --cwd=current --stdin-source=@screen_scrollback $EDITOR -