Update tmux config, add basic shortcuts
This commit is contained in:
parent
7653eeaa30
commit
79e4157404
17
.tmux.conf
17
.tmux.conf
|
@ -22,6 +22,23 @@
|
||||||
|
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
||||||
|
# remap shortcut prefix from 'C-b' to 'C-z'
|
||||||
|
unbind C-b
|
||||||
|
set-option -g prefix C-z
|
||||||
|
bind-key C-z send-prefix
|
||||||
|
|
||||||
|
# Reload tmux.conf in this session
|
||||||
|
bind r source-file ~/.tmux.conf
|
||||||
|
|
||||||
|
bind h split-window -h
|
||||||
|
bind v split-window -v
|
||||||
|
|
||||||
|
# switch panes using Alt-arrow without prefix
|
||||||
|
bind -n M-Left select-pane -L
|
||||||
|
bind -n M-Right select-pane -R
|
||||||
|
bind -n M-Up select-pane -U
|
||||||
|
bind -n M-Down select-pane -D
|
||||||
|
|
||||||
set-option -g status-position top
|
set-option -g status-position top
|
||||||
# Can't use theme plugin without risk of repo update overwriting data?
|
# Can't use theme plugin without risk of repo update overwriting data?
|
||||||
#source-file "${HOME}/.tmux-themepack/powerline/double/green.tmuxtheme"
|
#source-file "${HOME}/.tmux-themepack/powerline/double/green.tmuxtheme"
|
||||||
|
|
Loading…
Reference in New Issue