.dotfiles/.tmux.conf

39 lines
1.0 KiB
Plaintext
Raw Normal View History

2021-01-17 17:45:32 +00:00
## DOWNLOADED FROM GITHUB ##
# Send prefix
2021-01-17 18:00:12 +00:00
set-option -g prefix C-b
bind-key C-b send-prefix
unbind-key C-b
2021-01-17 17:45:32 +00:00
# Use Alt-arrow keys to switch panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Shift arrow to switch windows
bind -n S-Left previous-window
bind -n S-Right next-window
set -g mouse off
# Set easier window split keys
bind-key v split-window -h
bind-key h split-window -v
# Easy config reload
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded."
#set -g status-interval 60
#set -sg escape-time 1000
#set-option -g base-index 1
setw -g aggressive-resize on
set -g status-justify centre
2021-07-28 14:48:44 +00:00
set -g status-left-length 20
set -g status-left "#[fg=red]#(echo 'IP: ')#(curl -s http://ipecho.net/plain)"
2021-01-17 17:45:32 +00:00
#show session name, window & pane number, date and time on right side of status bar
set -g status-right-length 60
2021-07-28 14:48:44 +00:00
set -g status-right "#[fg=blue]#(hostname) #[fg=yellow]:: %d %b %Y #[fg=green]:: %l:%M %p :: #(date -u | awk '{print $4}')::"