X-Git-Url: https://git.xinqibao.xyz/dotfiles.git/blobdiff_plain/875c81c3638e1b2218d8b3b6fbd5494cbe5b1a5f..a5b430b863e4f060c3d798757b91f94c2d91d35a:/.tmux.conf diff --git a/.tmux.conf b/.tmux.conf index a5aff0c..4222527 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,17 +1,21 @@ # Improve colours -set -g default-terminal 'xterm-256colour' +set -g default-terminal 'xterm-256color' # Set scrollback buffer to 10000 set -g history-limit 10000 -# remap prefix from 'C-b' to 'C-z' +# when turned on, would cause issue at copy mode in gitBash +set -g mouse off + +# remap prefix from 'C-b' to 'C-a' unbind C-b set-option -g prefix C-a bind-key C-a send-prefix # split panes using | and - -bind | split-window -h -bind - split-window -v +bind c new-window -c $HOME +bind | split-window -h -c "#{pane_current_path}" +bind - split-window -v -c "#{pane_current_path}" bind-key C-a last-window unbind '"' unbind % @@ -28,8 +32,6 @@ set-option -g visual-silence off set-window-option -g monitor-activity off set-option -g bell-action none -set -g default-terminal "screen-256colour" - # The modes { setw -g clock-mode-colour colour135