mirror of https://github.com/fredrikekre/.dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
546 B
18 lines
546 B
# Force colors for e.g. prompt |
|
set-option -g default-terminal "screen-256color" |
|
|
|
# Mirror prefix+(Up|Down|Left|Right) to prefix prefix+(i|k|j|l) for switching panes |
|
bind-key -r i select-pane -U |
|
bind-key -r k select-pane -D |
|
bind-key -r j select-pane -L |
|
bind-key -r l select-pane -R |
|
|
|
# Faster repeat time |
|
set-option -g repeat-time 300 |
|
|
|
# Exit parent process when detaching from tmux |
|
bind-key d detach-client -P |
|
|
|
# Keep pwd for new splits |
|
bind-key '"' split-window -v -c '#{pane_current_path}' |
|
bind-key % split-window -h -c '#{pane_current_path}'
|
|
|