Add binding for saving tmux buffer

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2020-11-13 09:17:53 +01:00
parent 2fa41c33d3
commit 16692b1909
No known key found for this signature in database
GPG key ID: DE0CF444096A468D

View file

@ -24,6 +24,7 @@ bind - resize-pane -D 2
bind-key r clear-history bind-key r clear-history
bind-key R source-file ~/.tmux.conf \; display "Reloaded config file ~/.tmux.conf" bind-key R source-file ~/.tmux.conf \; display "Reloaded config file ~/.tmux.conf"
bind-key b set status bind-key b set status
bind-key P command-prompt -p 'save history to filename:' -I '~/tmux.history' 'capture-pane -S - ; save-buffer %1 ; delete-buffer'
source-file ~/.tmux/status.conf source-file ~/.tmux/status.conf
set -g status-position bottom set -g status-position bottom