update: tmux.conf
This commit is contained in:
parent
07c2ff8540
commit
f151ac88b7
1 changed files with 22 additions and 9 deletions
|
@ -1,19 +1,32 @@
|
|||
# tmux conf
|
||||
|
||||
# -----------------------------------------------
|
||||
set -g history-limit 50000
|
||||
|
||||
set -g mouse on
|
||||
setw -g mode-keys vi
|
||||
|
||||
bind-key -T prefix v split-window
|
||||
bind-key -T prefix h split-window -h
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-selection
|
||||
|
||||
set-option -g default-command fish
|
||||
|
||||
# -----------------------------------------------
|
||||
# general inputs config
|
||||
set -g mouse on
|
||||
setw -g mode-keys vi
|
||||
|
||||
# select panes with vi key bindings
|
||||
bind-key -T prefix h select-pane -L
|
||||
bind-key -T prefix j select-pane -D
|
||||
bind-key -T prefix k select-pane -U
|
||||
bind-key -T prefix l select-pane -R
|
||||
# split pane
|
||||
bind-key -T prefix | split-window -h
|
||||
bind-key -T prefix \\ split-window -h
|
||||
bind-key -T prefix - split-window -v
|
||||
# copy mode
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-selection
|
||||
|
||||
|
||||
# -----------------------------------------------
|
||||
# start window index at 1
|
||||
set -g base-index 1
|
||||
|
||||
# start pane index at 1
|
||||
setw -g pane-base-index 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue