add tmux.conf

This commit is contained in:
mingyang 2021-05-24 16:02:35 +08:00
parent 54bdcca2e0
commit 661d8d08a1

10
tmux.conf Normal file
View File

@ -0,0 +1,10 @@
set-option -g mouse on
set-option -g history-limit 100000
set-option -g allow-rename off
setw -g mode-keys vi
bind r source-file ~/.tmux.conf \; display "~/.tmux.conf reloaded."
bind C-b send-prefix
bind C-h swap-window -t -1
bind C-l swap-window -t +1
bind C-s capture-pane -S- \; display "Pannel captured to default buffer!"
bind C-e capture-pane -b quicksave -S- \; save-buffer -b quicksave ~/tmux-buffer.txt\; display "Pannel content exported to ~/tmux-buffer.txt"