Skip to content

Commit 272beee

Browse files
kjaromacahirwpz
authored andcommitted
Add save buffer feature to tmux config (#27)
1 parent cd4517b commit 272beee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.tmux.conf

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
set exit-unattached off
22
set exit-empty off
33
set -g status-position top
4+
set-option -g history-limit 10000
45

56
set -g default-terminal "screen-256color"
67
set -g mouse on
@@ -10,3 +11,5 @@ bind-key -n F1 select-window -t 1
1011
bind-key -n F2 select-window -t 2
1112
bind-key -n F3 select-window -t 3
1213
bind-key -n F4 select-window -t 4
14+
15+
bind-key P command-prompt -p 'save history to filename:' -I '~/tmux.history' 'capture-pane -S -32768 ; save-buffer %1 ; delete-buffer'

0 commit comments

Comments
 (0)