Updated tmux config for better binds.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Terminal colors
|
||||
set -g default-terminal "screen-256color"
|
||||
set -ga terminal-overrides ',xterm-256color:Tc'
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -as terminal-features ",xterm*:RGB"
|
||||
set -g mouse on
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
@@ -22,8 +22,6 @@ bind -n C-l select-pane -R
|
||||
bind -n C-k select-pane -U
|
||||
bind -n C-j select-pane -D
|
||||
|
||||
bind -n C-p previous-window
|
||||
bind -n C-n next-window
|
||||
|
||||
bind h select-pane -L
|
||||
bind l select-pane -R
|
||||
@@ -41,11 +39,16 @@ bind-key -n M-5 selectw -t 3
|
||||
bind m command-prompt "new-session -s %1"
|
||||
|
||||
# split panes using | and -
|
||||
bind o split-window -h -l 40% -c "#{pane_current_path}"
|
||||
bind v split-window -v -l 35% -c "#{pane_current_path}"
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
bind '\' split-window -h -l 40% -c "#{pane_current_path}"
|
||||
bind '`' split-window -v -l 35% -c "#{pane_current_path}"
|
||||
|
||||
bind-key -n 'C-\' run-shell -b "~/.local/bin//toggle-tmux-pane"
|
||||
bind g run-shell 'tmux popup -d "#{pane_current_path}" -xC -yC -w90% -h90% -E gitu'
|
||||
bind f run-shell 'tmux popup -d "#{pane_current_path}" -xC -yC -w90% -h90% -E spf'
|
||||
|
||||
## STATUS BAR ##################################################################
|
||||
|
||||
## Status bar design
|
||||
|
||||
Reference in New Issue
Block a user