Tmux key for capture all the pane's history
authorSergey Matveev <stargrave@stargrave.org>
Sat, 14 Dec 2019 11:55:50 +0000 (14:55 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 14 Dec 2019 11:55:50 +0000 (14:55 +0300)
tmux/.tmux.conf

index 00387b33fcbd9d7c10f9dc4c01c830d8296e138b..629859a390314bba471fdc1bed0f2de794723dfa 100644 (file)
@@ -32,5 +32,6 @@ set-window-option -g window-status-last-bg cyan
 
 bind-key u capture-pane -J \; save-buffer /tmp/tmux-buffer \; split-window 'urlview /tmp/tmux-buffer' \; delete-buffer
 bind-key y capture-pane -J \; save-buffer /tmp/tmux-buffer \; split-window 'vim /tmp/tmux-buffer' \; delete-buffer
+bind-key Y capture-pane -J -S - -E - \; save-buffer /tmp/tmux-buffer \; split-window 'vim /tmp/tmux-buffer' \; delete-buffer
 bind-key b set-option status
 unbind-key L