feat: Small update to tmux to stop dynamic renaming of windows and
cleaning up key mappings for splits and config reload.
This commit is contained in:
parent
34de0cfe23
commit
9be0299794
@ -7,18 +7,20 @@ setw -gq utf8 on
|
||||
# Allow mouse interactions
|
||||
set -g mouse on
|
||||
|
||||
set-option -g allow-rename
|
||||
|
||||
# Bindings
|
||||
## More comfortable prefix binding
|
||||
unbind C-b
|
||||
set-option -g prefix C-Space
|
||||
bind-key C-Space send-prefix
|
||||
|
||||
## More natural window splits
|
||||
bind \\ split-window -h -c "#{pane_current_path}"
|
||||
bind - split-window -v -c "#{pane_current_path}"
|
||||
bind -n C-M-\\ split-window -h -c "#{pane_current_path}"
|
||||
bind -n C-M-_ split-window -v -c "#{pane_current_path}"
|
||||
unbind '"'
|
||||
unbind %
|
||||
bind r source-file ~/.tmux.conf; display-message "Config reloaded..."
|
||||
|
||||
## Better pane navigation
|
||||
bind -n C-M-h select-pane -L
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user