Housekeeping
This commit is contained in:
@@ -13,7 +13,7 @@ set-option -g prefix C-f
|
||||
bind-key C-f send-prefix
|
||||
|
||||
# reload config file
|
||||
bind r source-file ~/.tmux.conf
|
||||
bind r source-file ~/.config/tmux/tmux.conf
|
||||
|
||||
# switch panes using Alt-arrow without prefix
|
||||
setw -g mode-keys vi
|
||||
@@ -22,7 +22,6 @@ bind -n C-l select-pane -R
|
||||
bind -n C-k select-pane -U
|
||||
bind -n C-j select-pane -D
|
||||
|
||||
|
||||
bind h select-pane -L
|
||||
bind l select-pane -R
|
||||
bind k select-pane -U
|
||||
@@ -41,23 +40,20 @@ bind m command-prompt "new-session -s %1"
|
||||
# split panes using | and -
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
bind '`' split-window -h -l 40% -c "#{pane_current_path}"
|
||||
bind '\' split-window -v -l 35% -c "#{pane_current_path}"
|
||||
bind 'v' split-window -h -l 45% -c "#{pane_current_path}"
|
||||
bind 't' split-window -v -l 40% -c "#{pane_current_path}"
|
||||
|
||||
bind j run-shell -b "~/.local/bin/tmux-toggle-term float"
|
||||
bind g run-shell 'tmux popup -d "#{pane_current_path}" -xC -yC -w90% -h90% -E gitu'
|
||||
bind e run-shell 'tmux popup -d "#{pane_current_path}" -xC -yC -w90% -h90% -E "~/.local/bin/tmux-lf"'
|
||||
|
||||
## STATUS BAR ##################################################################
|
||||
|
||||
## Status bar design
|
||||
set -g status-justify centre
|
||||
set -g status-position top
|
||||
set -g status-bg '#191927'
|
||||
set -g status-bg '#16161D'
|
||||
set -g status-fg '#c5c9c5'
|
||||
|
||||
## Show PREFIX on right side when c-b
|
||||
set -g status-left '#[fg=colour232,bg="#af875f",bold]#{?client_prefix, <PK> ,}#[fg="#1c1c1c",bg="#767676",bold][#S] '
|
||||
set -g status-left '#[fg=colour232,bg="#af875f",bold]#{?client_prefix, [PFX] ,}#[fg="#1c1c1c",bg="#767676",bold][#S] '
|
||||
set -g status-left-length 20
|
||||
set -g status-right ''
|
||||
|
||||
Reference in New Issue
Block a user