tmux: vim keys and statusbar
This commit is contained in:
parent
2adeef846a
commit
0cf914e046
10
tmux.conf
10
tmux.conf
@ -1,3 +1,4 @@
|
|||||||
|
# KEYS
|
||||||
# remap prefix from 'C-b' to 'C-a'
|
# remap prefix from 'C-b' to 'C-a'
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set-option -g prefix C-a
|
set-option -g prefix C-a
|
||||||
@ -5,10 +6,17 @@ bind-key C-a send-prefix
|
|||||||
# remap from 'n' for next to 'space'
|
# remap from 'n' for next to 'space'
|
||||||
setw -g xterm-keys on
|
setw -g xterm-keys on
|
||||||
bind-key Space next-window
|
bind-key Space next-window
|
||||||
|
# vim style switch
|
||||||
|
bind h select-pane -L
|
||||||
|
bind j select-pane -D
|
||||||
|
bind k select-pane -U
|
||||||
|
bind l select-pane -R
|
||||||
|
|
||||||
|
# statusbar
|
||||||
|
set -g status-right '#[fg=white]%a %d %b #[fg=white,bold]%R'
|
||||||
|
|
||||||
# THEME
|
# THEME
|
||||||
#### COLOUR (Solarized 256)
|
#### COLOUR (Solarized 256)
|
||||||
|
|
||||||
# default statusbar colors
|
# default statusbar colors
|
||||||
set-option -g status-bg colour235 #base02
|
set-option -g status-bg colour235 #base02
|
||||||
set-option -g status-fg colour136 #yellow
|
set-option -g status-fg colour136 #yellow
|
||||||
|
Loading…
x
Reference in New Issue
Block a user