tmux: 99-per-cent done
This commit is contained in:
parent
8d3f4eea2b
commit
5fc7c37c3d
1 changed files with 8 additions and 8 deletions
|
@ -1,7 +1,6 @@
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
# tmux.conf for niblock || source with <C-b>r
|
# tmux.conf for niblock || source with <C-b>r
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
|
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
# General Settings
|
# General Settings
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
|
@ -39,33 +38,34 @@ set -g clock-mode-colour "fg=#{@thm_lavender}"
|
||||||
# Modes
|
# Modes
|
||||||
set -g mode-style "fg=#{@thm_lavender} bg=terminal"
|
set -g mode-style "fg=#{@thm_lavender} bg=terminal"
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
# Status Line
|
# Status Lines
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
setw -g monitor-activity on # Monitor window activity
|
setw -g monitor-activity on # Monitor window activity
|
||||||
set -g visual-activity off # No status line message
|
set -g visual-activity off # No status line message
|
||||||
set -g allow-rename off # Disallow program renaming
|
set -g allow-rename off # Disallow program renaming
|
||||||
|
set -g allow-set-title off
|
||||||
|
# TMUX Status Line
|
||||||
set -g status-left-length 40 # Left-side char length
|
set -g status-left-length 40 # Left-side char length
|
||||||
set -g status-left "#[bright][ #h ] " # Left-side format
|
set -g status-left "#[bright][ #h ] " # Left-side format
|
||||||
|
set -g window-status-format " #I " # Window-list format
|
||||||
|
set -g window-status-current-format " #I: #{pane_current_command} "
|
||||||
set -g status-right-length 80 # Right-side char length
|
set -g status-right-length 80 # Right-side char length
|
||||||
|
# Border Status Lines
|
||||||
|
set -g pane-border-format " [#{pane_current_path}] #{pane_current_command} "
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
# Key Bindings
|
# Key Bindings
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
setw -g mode-keys vi # Vi-like key bindings
|
set -g mode-keys vi # Vi-like key bindings
|
||||||
|
|
||||||
bind h select-pane -L # Pane movement: left
|
bind h select-pane -L # Pane movement: left
|
||||||
bind j select-pane -D # Pane movement: down
|
bind j select-pane -D # Pane movement: down
|
||||||
bind k select-pane -U # Pane movement: up
|
bind k select-pane -U # Pane movement: up
|
||||||
bind l select-pane -R # Pane movement: right
|
bind l select-pane -R # Pane movement: right
|
||||||
|
|
||||||
bind-key -r C-h select-window -t :- # Window movement: left
|
bind-key -r C-h select-window -t :- # Window movement: left
|
||||||
bind-key -r C-l select-window -t :+ # Window movement: right
|
bind-key -r C-l select-window -t :+ # Window movement: right
|
||||||
|
|
||||||
bind -r H resize-pane -L 5 # Pane resize: +5 left
|
bind -r H resize-pane -L 5 # Pane resize: +5 left
|
||||||
bind -r J resize-pane -D 5 # Pane resize: +5 down
|
bind -r J resize-pane -D 5 # Pane resize: +5 down
|
||||||
bind -r K resize-pane -U 5 # Pane resize: +5 up
|
bind -r K resize-pane -U 5 # Pane resize: +5 up
|
||||||
bind -r L resize-pane -R 5 # Pane resize: +5 right
|
bind -r L resize-pane -R 5 # Pane resize: +5 right
|
||||||
|
|
||||||
bind | split-window -h -c "#{pane_current_path}" # Horizontal split
|
bind | split-window -h -c "#{pane_current_path}" # Horizontal split
|
||||||
bind - split-window -v -c "#{pane_current_path}" # Vertical split
|
bind - split-window -v -c "#{pane_current_path}" # Vertical split
|
||||||
# Reload config file
|
# Reload config file
|
||||||
|
|
Loading…
Reference in a new issue