modify tmux conf
This commit is contained in:
1 parent
6c6303a9f3
commit
f7e26cd2b3
1 file changed
+6
-2
@@ -28,6 +28,8 @@ set -s escape-time 0
|
|||||||
# switch windows
|
# switch windows
|
||||||
bind -r j previous-window
|
bind -r j previous-window
|
||||||
bind -r k next-window
|
bind -r k next-window
|
||||||
|
bind -r h swap-window -t -1
|
||||||
|
bind -r l swap-window -t +1
|
||||||
|
|
||||||
# fixes redraw bugs
|
# fixes redraw bugs
|
||||||
set -g default-terminal screen-256color
|
set -g default-terminal screen-256color
|
||||||
@@ -35,7 +37,7 @@ set -g default-terminal screen-256color
|
|||||||
# splitting
|
# splitting
|
||||||
unbind %
|
unbind %
|
||||||
unbind '"'
|
unbind '"'
|
||||||
bind + split-window -h
|
bind = split-window -h
|
||||||
bind - split-window -v
|
bind - split-window -v
|
||||||
bind -r C-h run "tmux select-pane -L"
|
bind -r C-h run "tmux select-pane -L"
|
||||||
bind -r C-j run "tmux select-pane -D"
|
bind -r C-j run "tmux select-pane -D"
|
||||||
@@ -54,10 +56,12 @@ set-option -g set-titles-string '[#H]: #W'
|
|||||||
set-window-option -g automatic-rename on
|
set-window-option -g automatic-rename on
|
||||||
|
|
||||||
# no visual activity
|
# no visual activity
|
||||||
set -g visual-activity off
|
setw -g monitor-activity off
|
||||||
|
set -g visual-activity on
|
||||||
set -g visual-bell off
|
set -g visual-bell off
|
||||||
|
|
||||||
# status bar
|
# status bar
|
||||||
|
bind-key z set -g status
|
||||||
set-option -g status-utf8 on
|
set-option -g status-utf8 on
|
||||||
set-option -g status-justify left
|
set-option -g status-justify left
|
||||||
set-option -g status-bg black
|
set-option -g status-bg black
|
||||||
|
|||||||
Reference in new issue
Block a user