tmux: add P command to save history
This commit is contained in:
@@ -5,6 +5,7 @@ set -g base-index 1
|
||||
bind C-l send-keys 'C-l'
|
||||
|
||||
bind r source ~/.tmux.conf\; display "~/.tmux.conf sourced!"
|
||||
bind-key P command-prompt -p 'save history to filename:' -I '~/tmux.history' 'capture-pane -S -32768 ; save-buffer %1 ; delete-buffer'
|
||||
|
||||
# List of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
|
||||
Reference in New Issue
Block a user