mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
fix(tmux): Vertical split with v and horizontal with s
fix(tmux): Don't use `XDG_CONFIG_HOME` servers usually don't have it set chore(tmux): Remove plugin support
This commit is contained in:
@@ -24,9 +24,9 @@ bind-key C-a send-prefix
|
||||
bind q confirm-before kill-session
|
||||
|
||||
unbind %
|
||||
bind s split-window -h
|
||||
bind v split-window -h
|
||||
unbind '"'
|
||||
bind v split-window -v
|
||||
bind s split-window -v
|
||||
|
||||
# Intuitive split bindings to | & -
|
||||
bind - split-window -v -c "#{pane_current_path}"
|
||||
@@ -59,7 +59,7 @@ bind C-p previous-window
|
||||
bind C-n next-window
|
||||
bind C-a send-prefix
|
||||
bind a last-window
|
||||
bind r source-file "$XDG_CONFIG_HOME/tmux/tmux.conf" \; display-message "Tmux config reloaded."
|
||||
bind r source-file "~/.config/tmux/tmux.conf" \; display-message "Tmux config reloaded."
|
||||
|
||||
# Change resurrect keys to <ctrl-s>(Save) & <ctrl-r>(Resurrect)
|
||||
set -g @resurrect-save "C-s"
|
||||
@@ -113,23 +113,11 @@ cyan_soft="#88C0D0"
|
||||
set -g status-position top
|
||||
set -g status-left-length 100
|
||||
set -g status-style "fg=${gray_light},bg=default"
|
||||
set -g status-left "#[fg=${green_soft},bold] #S #[fg=${gray_light},nobold] |"
|
||||
set -g window-status-current-format "#[fg=${cyan_soft},bold] #[underscore]#I:#W"
|
||||
set -g status-left "#[fg=${green_soft},bold] #H: #S #[fg=${gray_light},nobold] "
|
||||
set -g windows-status-format "#I:#W"
|
||||
set -g window-status-current-format "#[fg=${cyan_soft},bold] #[underscore]#I:#W#{?window_zoomed_flag, ,}"
|
||||
set -g status-right "| %a %d %b %I:%M %p"
|
||||
set -g message-style "fg=${gray_light},bg=default"
|
||||
set -g mode-style "fg=${gray_dark},bg=${blue_muted}"
|
||||
set -g pane-border-style "fg=${gray_dark}"
|
||||
set -g pane-active-border-style "fg=${gray_medium}"
|
||||
|
||||
#========================================================
|
||||
# PLUGINS
|
||||
#========================================================
|
||||
run "$XDG_CONFIG_HOME/tmux/plugins/tpm/tpm" # Init Tmux Plugin Manager
|
||||
|
||||
set -g @plugin "tmux-plugins/tmux-resurrect" # Persist sessions
|
||||
set -g @plugin "tmux-plugins/tmux-continuum" # Auto save sessions every 15mins
|
||||
|
||||
#========================================================
|
||||
# PLUGINS Configurations
|
||||
#========================================================
|
||||
|
||||
set -g @plugin "tmux-plugins/tpm"
|
||||
|
||||
Reference in New Issue
Block a user