From 661d8d08a1dcb7747b9d5574685c7eac98b6cfab Mon Sep 17 00:00:00 2001 From: mingyang Date: Mon, 24 May 2021 16:02:35 +0800 Subject: [PATCH] add tmux.conf --- tmux.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tmux.conf diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..d672904 --- /dev/null +++ b/tmux.conf @@ -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" \ No newline at end of file