Use vi keybindings to move between panes in tmux

This commit is contained in:
Trevor Vallender 2023-03-08 13:02:23 +00:00
parent 708c3c3dae
commit 43fb881199
1 changed files with 4 additions and 24 deletions

View File

@ -7,33 +7,13 @@ bind-key C-o last-window
set-option -g prefix C-o set-option -g prefix C-o
unbind-key C-b unbind-key C-b
# number windows from 1
set -g base-index 1
set -g default-terminal "screen-256color" set -g default-terminal "screen-256color"
set -g history-limit 10000 set -g history-limit 10000
set -g history-file ~/.dotfiles/.tmux_history set -g history-file ~/.dotfiles/.tmux_history
# enable mouse scrolling bind-key j select-pane -D
# set -g mouse on bind-key k select-pane -U
bind-key l select-pane -R
#### COLOUR bind-key h select-pane -L
# default statusbar colors
set-option -g status-bg colour235 #base02
set-option -g status-fg colour136 #yellow
# pane number display
set-option -g display-panes-active-colour colour33 #blue
set-option -g display-panes-colour colour166 #orange
# clock
set-window-option -g clock-mode-colour colour64 #green
set-window-option -g window-status-current-format '#I:#W#F'
set-window-option -g window-status-format '#I:#W#F'
set -g status-left " "
set -g status-right " "