Xinqi Bao's Git

vimrc: new plugin, majutsushi/tagbar, airblade/vim-gitgutter
[dotfiles.git] / .tmux.conf
index a5aff0c..4222527 100644 (file)
@@ -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