Skip to content

Commit

Permalink
tmux.conf Enable vi keys for pane switching
Browse files Browse the repository at this point in the history
  • Loading branch information
aw-bib committed Jul 28, 2016
1 parent 183ac28 commit e5b240a
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ bind-key -t vi-copy 'y' copy-selection

# use sensible terminal
set -g default-terminal "xterm-256color"
# if we use a solarized palette for the terminal emulator use 16
# colours as those actually match already solarized colours
set -g default-terminal "xterm"

# enable wm window titles
set -g set-titles on
Expand Down Expand Up @@ -46,7 +49,8 @@ set-window-option -g window-status-current-bg default

# pane border
set-option -g pane-border-fg white #base2
set-option -g pane-active-border-fg cyan #base1
set-option -g pane-active-border-bg blue #base1
set-option -g pane-active-border-fg white #base1

# message text
set-option -g message-bg white #base2
Expand Down Expand Up @@ -76,12 +80,12 @@ set-window-option -g clock-mode-colour green #green
### set-window-option -g mode-keys vi
### bind-key -t vi-copy 'v' begin-selection
### bind-key -t vi-copy 'y' copy-selection
### bind h select-pane -L
### bind j select-pane -D
### bind k select-pane -U
### bind l select-pane -R
### bind-key -r C-h select-window -t :-
### bind-key -r C-l select-window -t :+
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
## bind-key -r C-h select-window -t :-
## bind-key -r C-l select-window -t :+


set -g status-left-length 32
Expand All @@ -90,8 +94,8 @@ set -g status-right-length 150
set -g status-fg white
set -g status-bg colour234
# set -g window-status-activity-attr bold
set -g pane-border-fg colour245
set -g pane-active-border-fg colour39
## set -g pane-border-fg colour245
## set -g pane-active-border-fg colour39
set -g message-fg colour16
set -g message-bg colour221
set -g message-attr bold
Expand Down

0 comments on commit e5b240a

Please sign in to comment.