Files
dotfiles/tmux/tmux.conf

51 lines
1.5 KiB
Plaintext
Raw Normal View History

2015-12-06 02:56:51 +01:00
set -g base-index 1
set -s escape-time 0
set -g prefix C-a
2017-11-01 10:42:15 +01:00
#set -g terminal-overrides 'xterm*:smcup@:rmcup@'
2015-12-06 02:56:51 +01:00
unbind %
bind | split-window -h
bind - split-window -v
2015-12-06 11:12:03 +01:00
### set status line appearance
set -g status-fg white
set -g status-bg black
2015-12-06 02:56:51 +01:00
2015-12-06 11:12:03 +01:00
set -g status-left-length 28
### status-left: @hostname:sessionname
set -g status-left "#[fg=white]@#h#[fg=red]:#S#[fg=white] |"
### status-left: username@hostname:sessionname
#set -g status-left "#[fg=blue]#(echo ${USER})#[fg=white]@#h#[fg=red]:#S#[fg=white] |"
### status-right: Date and Time
set -g status-right-length 16
set -g status-right '#[fg=yellow]%Y-%m-%d %H:%M'
### status-right: Time
#set -g status-right-length 6
#set -g status-right "#[fg=yellow]%H:%M"
set-window-option -g window-status-fg blue
set-window-option -g window-status-bg black
set-window-option -g window-status-current-attr bold
#urxvt tab like window switching (-n: no prior escape seq)
bind -n S-F10 new-window
bind -n S-F11 previous-window
bind -n S-F12 next-window
bind -n S-F9 swap-window -t -1
bind -n S-F8 swap-window -t +1
2017-11-01 12:11:35 +01:00
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
2017-11-01 12:40:11 +01:00
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-yank'
2017-11-01 12:11:35 +01:00
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'git@github.com/user/plugin'
# set -g @plugin 'git@bitbucket.com/user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'