Initial config
This commit is contained in:
commit
c82a57b378
1 changed files with 32 additions and 0 deletions
32
tmux.conf
Normal file
32
tmux.conf
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
#switch to ctrl+a prefix
|
||||||
|
unbind C-b
|
||||||
|
set -g prefix C-a
|
||||||
|
bind C-a send-prefix
|
||||||
|
|
||||||
|
#pane management
|
||||||
|
bind q split-window -h
|
||||||
|
bind f split-window
|
||||||
|
bind a select-pane -L
|
||||||
|
bind s select-pane -R
|
||||||
|
bind w select-pane -U
|
||||||
|
bind r select-pane -D
|
||||||
|
|
||||||
|
#window management
|
||||||
|
bind Q new-window -n '%%'
|
||||||
|
bind A next-window
|
||||||
|
bind S previous-window
|
||||||
|
bind W last-window
|
||||||
|
bind R rename-window '%%'
|
||||||
|
bind F find-window '%%'
|
||||||
|
|
||||||
|
#promote/demote pane
|
||||||
|
bind z resize-pane -Z
|
||||||
|
|
||||||
|
#detach
|
||||||
|
bind C-d detach
|
||||||
|
|
||||||
|
#limit window size to clients connected to window instead of to session
|
||||||
|
setw -g aggressive-resize on
|
||||||
|
|
||||||
|
#enable mouse mode
|
||||||
|
set -g mouse on
|
Loading…
Add table
Reference in a new issue