Skip to content

Commit

Permalink
Add save buffer feature to tmux config (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjaroma authored and cahirwpz committed Dec 16, 2023
1 parent cd4517b commit 272beee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .tmux.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
set exit-unattached off
set exit-empty off
set -g status-position top
set-option -g history-limit 10000

set -g default-terminal "screen-256color"
set -g mouse on
Expand All @@ -10,3 +11,5 @@ bind-key -n F1 select-window -t 1
bind-key -n F2 select-window -t 2
bind-key -n F3 select-window -t 3
bind-key -n F4 select-window -t 4

bind-key P command-prompt -p 'save history to filename:' -I '~/tmux.history' 'capture-pane -S -32768 ; save-buffer %1 ; delete-buffer'

0 comments on commit 272beee

Please sign in to comment.