bundles/users: edit tmux.conf
This commit is contained in:
parent
3c56a0ce51
commit
bd48c45553
1 changed files with 12 additions and 7 deletions
|
@ -1,28 +1,33 @@
|
||||||
unbind r
|
|
||||||
# Reload with ctrl-r
|
|
||||||
bind r source-file /etc/tmux.conf \; source-file ~/.tmux.conf \; display "Reloaded!"
|
|
||||||
|
|
||||||
bind C-a send-prefix # Pass on ctrl-a for other apps
|
bind C-a send-prefix # Pass on ctrl-a for other apps
|
||||||
|
|
||||||
|
set-option -g set-titles on
|
||||||
|
set-option -g set-titles-string '#W [#(logname)@${node.name}]'
|
||||||
|
|
||||||
# Status bar
|
# Status bar
|
||||||
set -g status on
|
set -g status on
|
||||||
set -g status-interval 10
|
set -g status-interval 10
|
||||||
set -g status-left '[#(logname)@${node.name}] '
|
set -g status-left '[#(logname)@${node.name}] '
|
||||||
set -g status-left-length ${len(node.name)+10}
|
set -g status-left-length 100
|
||||||
set -g status-right " „#{pane_title}“ %Y-%m-%d %H:%M UTC"
|
set -g status-right "%Y-%m-%d %H:%M"
|
||||||
|
|
||||||
# Numbering starts at 1
|
# Numbering starts at 1
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
setw -g pane-base-index 1
|
setw -g pane-base-index 1
|
||||||
|
set-option -g renumber-windows on
|
||||||
|
|
||||||
# Activity monitoring
|
# Activity monitoring
|
||||||
setw -g monitor-activity on
|
setw -g monitor-activity on
|
||||||
set -g visual-activity on
|
set -g visual-activity on
|
||||||
|
|
||||||
|
# Terminal
|
||||||
set-option -g default-shell $SHELL
|
set-option -g default-shell $SHELL
|
||||||
set -g default-terminal "tmux-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
|
|
||||||
set-option -g renumber-windows on
|
# Keybindings
|
||||||
|
bind-key -n M-Left select-pane -L
|
||||||
|
bind-key -n M-Right select-pane -R
|
||||||
|
bind-key -n M-Up select-pane -U
|
||||||
|
bind-key -n M-Down select-pane -D
|
||||||
|
|
||||||
#### COLOUR (Solarized dark)
|
#### COLOUR (Solarized dark)
|
||||||
set-option -g status-bg black #base02
|
set-option -g status-bg black #base02
|
||||||
|
|
Loading…
Reference in a new issue