Xinqi Bao's Git
projects
/
dotfiles.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
vimrc: new plugin, majutsushi/tagbar, airblade/vim-gitgutter
[dotfiles.git]
/
.tmux.conf
diff --git
a/.tmux.conf
b/.tmux.conf
index
a5aff0c
..
4222527
100644
(file)
--- a/
.tmux.conf
+++ b/
.tmux.conf
@@
-1,17
+1,21
@@
# Improve colours
# Improve colours
-set -g default-terminal 'xterm-256colo
u
r'
+set -g default-terminal 'xterm-256color'
# Set scrollback buffer to 10000
set -g history-limit 10000
# 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 -
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 %
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-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
# The modes {
setw -g clock-mode-colour colour135