You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.3 KiB
Plaintext

# Set the prefix to ^A
unbind C-b
set -g prefix C-a
bind a send-prefix
bind C-c new-window
bind C-d detach
bind C-a last-window
set -g mode-keys vi
# Terminal Titles
set -g set-titles on
set -g set-titles-string "#H (#S)"
# Status
set -g status on
# Escape delay
set -s escape-time 1
# Open new windows in current directory
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'jbnicolai/tmux-urlview'
# set -g @plugin 'tmux-plugins/tmux-battery'
# set -g @plugin 'tmux-plugins/tmux-maildir-counter'
# set -g @plugin 'seebi/tmux-colors-solarized'
# set -g @maildir_counters '~/Mail/FastMail/INBOX/new|~/Mail/IOCOM/INBOX/new'
# set -g status-right '#{battery_icon} #{battery_percentage} | ✉ F:#{maildir_counter_1} I:#{maildir_counter_2} | %a %h-%d %H:%M '
set -g status-right '' # '%a %h-%d %H:%M '
set -g status-left ''
# default statusbar colors
set-option -g status-bg default
set-option -g status-fg '#888888'
set-option -g status-attr default
# default window title colors
set-window-option -g window-status-fg '#888888'
set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim
# active window title colors
set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-bg default
#set-window-option -g window-status-current-attr bright
set-window-option -g window-status-format ' #I #W'
set-window-option -g window-status-current-format ' #I #W'
set-window-option -g window-status-separator ' '
set-window-option -g base-index 1
# pane border
set-option -g pane-border-fg default
set-option -g pane-active-border-fg default
# message text
set-option -g message-bg black
set-option -g message-fg white
# pane number display
set-option -g display-panes-active-colour white
set-option -g display-panes-colour white
# clock
set-window-option -g clock-mode-colour white
# Initialize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm'