41 lines
674 B
Bash
41 lines
674 B
Bash
# modify prefix from C-b to C-f
|
|
unbind C-b
|
|
set-option -g prefix C-f
|
|
bind-key C-f send-prefix
|
|
|
|
# modify pane change
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind h select-pane -L
|
|
bind l select-pane -R
|
|
|
|
#modify split commands
|
|
bind r split-window -h
|
|
unbind '"'
|
|
bind b split-window -v
|
|
unbind '%'
|
|
|
|
#modify new window
|
|
unbind 'c'
|
|
bind w new-window
|
|
|
|
#change session
|
|
#unbind 's'
|
|
#bind c change-session
|
|
|
|
#modify paste mode entry
|
|
bind Space copy-mode
|
|
|
|
#relod config
|
|
bind z source-file ~/.tmux.conf
|
|
|
|
#clear history
|
|
bind c clear-history
|
|
|
|
#bigger buffer
|
|
set-option -g history-limit 5000
|
|
|
|
set-window-option -g mode-keys vi
|
|
|
|
#bind -t vi-copy y copy-pipe 'xclip -in -selection clipboard'
|