82 lines
2.9 KiB
Plaintext
82 lines
2.9 KiB
Plaintext
set -g @plugin 'niksingh710/minimal-tmux-status'
|
||
|
||
# These are the default values used inside the plugin to achieve the preview shown above.
|
||
|
||
# personal settings for me self
|
||
set -g prefix2 C-a
|
||
|
||
unbind-key C-b
|
||
set-option -g prefix C-a
|
||
bind-key C-a send-prefix
|
||
|
||
bind-key | split-window -h -c "#{pane_current_path}" # allows you to open new pane with current path
|
||
bind-key _ split-window -v -c "#{pane_current_path}"
|
||
|
||
# nvim like movement
|
||
bind-key -r h select-pane -L # go left
|
||
bind-key -r j select-pane -D # go down
|
||
bind-key -r l select-pane -R # go right
|
||
bind-key -r k select-pane -U # go up
|
||
|
||
# kill pane without asking me to kill it!
|
||
unbind-key x # unbind-key “x” from it’s current job of “ask and then close”
|
||
bind-key x kill-pane # rebind-key it to just “close”
|
||
bind-key X kill-session # key combo for killing the entire session - <prefix> + shift + x
|
||
|
||
# Window: Movements
|
||
bind-key L last-window
|
||
bind-key -r C-h select-window -t :- # cycle through the windows for quick window selection
|
||
bind-key -r C-l select-window -t :+
|
||
|
||
# The default key binding are Ctr+ Up/Down/Left/Right for one row movements , Alt + Up/Down/Left/Right for five row movements.
|
||
# Let's add one more to the set (Vim way)
|
||
# Vim Style
|
||
bind-key -r H resize-pane -L 2 # resize a pane two rows at a time.
|
||
bind-key -r J resize-pane -D 2
|
||
bind-key -r K resize-pane -U 2
|
||
bind-key -r L resize-pane -R 2
|
||
|
||
set-option -g base-index 1 # window index will start with 1
|
||
set-window-option -g pane-base-index 1 # pane index will start with 1
|
||
set-option -g renumber-windows on
|
||
|
||
set -g @minimal-tmux-fg "#000000"
|
||
# set -g @minimal-tmux-bg "#698DDA"
|
||
set -g @minimal-tmux-bg "#af3a03"
|
||
set -g @minimal-tmux-justify "centre"
|
||
set -g @minimal-tmux-indicator-str " tmux "
|
||
set -g @minimal-tmux-indicator true
|
||
set -g @minimal-tmux-status "top"
|
||
|
||
# Enables or disables the left and right status bar
|
||
set -g @minimal-tmux-right true
|
||
set -g @minimal-tmux-left false
|
||
|
||
# expanded icon (fullscreen icon)
|
||
set -g @minimal-tmux-expanded-icon " "
|
||
|
||
# on all tabs (default is false)
|
||
# false will make it visible for the current tab only
|
||
set -g @minimal-tmux-show-expanded-icon-for-all-tabs true
|
||
|
||
# To add or remove extra text in status bar
|
||
set -g @minimal-tmux-status-right-extra ""
|
||
set -g @minimal-tmux-status-left-extra ""
|
||
|
||
# To make the selection box rounded () or edged <>
|
||
# Default is nothing, when set to true default is edged
|
||
set -g @minimal-tmux-use-arrow false
|
||
set -g @minimal-tmux-right-arrow ""
|
||
set -g @minimal-tmux-left-arrow ""
|
||
|
||
# Not recommended to change these values
|
||
set -g @minimal-tmux-status-right "#S"
|
||
set -g @minimal-tmux-status-left "refer to code"
|
||
|
||
# If getting strings cut in left status or right
|
||
# Here 20 is the length of the characters in the string
|
||
set -g status-right-length 20
|
||
set -g status-left-length 20
|
||
|
||
run '~/.tmux/plugins/tpm/tpm'
|