Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # I'm used to C-a from the screen era
- unbind C-b
- set -g prefix C-a
- # Make C-a a work
- bind a send-prefix
- # Enable xterm-keys, allow ctrl+arrow movement
- set-window-option -g xterm-keys on
- # Control-a Control-a goes to the last windows
- bind-key C-a last
- # Start window number at 1, just like a keybored does
- set -g base-index 1
- # Don't wait for escape commands
- set -s escape-time 0
- # Don't restrict the size of the window to the smallest viewing screen
- #setw -g aggresive-resize on
- # force a reload of the config file
- unbind r
- bind r source-file ~/.tmux.conf
- # colors
- set -g default-terminal "screen-256color"
- # rebind pane tiling
- bind V split-window -h
- bind H split-window
- # quick pane cycling
- bind Tab select-pane -t :.+
- # screen like window toggling
- #unbind ^A
- #bind ^A last-window
- bind [ copy-mode
- # vim movement bindings
- set-window-option -g mode-keys vi
- bind h select-pane -L
- bind j select-pane -D
- bind k select-pane -U
- bind l select-pane -R
- # split panes using | and -
- bind | split-window -h
- bind - split-window -v
- unbind '"'
- unbind %
- # don't rename windows automatically
- set-option -g allow-rename off
- # Status bar
- # Turn the status bar on
- set-option -g status on
- # Center window list for clarity
- set -g status-justify centre
- # Colours
- # Status update interval
- set -g status-interval 1
- # Basic status bar colors
- set -g status-bg black
- set -g status-fg green
- # Left side of status bar
- set -g status-left-bg black
- set -g status-left-fg red
- set -g status-left-length 40
- set -g status-left "#S #[fg=white]» #[fg=red]#I #[fg=white]#P"
- # Right side of status bar
- set -g status-right-bg black
- set -g status-right-fg green
- set -g status-right-length 40
- set -g status-right "#H #[fg=white]« #[fg=red]%H:%M:%S #[fg=green]%d-%b-%y"
- # Window status
- set -g window-status-format " #I:#W#F "
- set -g window-status-current-format " #I:#W#F "
- # Current window status
- set -g window-status-current-bg blue
- set -g window-status-current-fg white
- # Window with activity status
- set -g window-status-activity-bg yellow # fg and bg are flipped here due to a
- set -g window-status-activity-fg white # bug in tmux
- # Window separator
- set -g window-status-separator ""
- # Window status alignment
- set -g status-justify centre
- # Pane border
- set -g pane-border-bg default
- set -g pane-border-fg default
- # Active pane border
- set -g pane-active-border-bg default
- set -g pane-active-border-fg green
- # Pane number indicator
- set -g display-panes-colour default
- set -g display-panes-active-colour default
- # Clock mode
- set -g clock-mode-colour red
- set -g clock-mode-style 24
- # Message
- set -g message-bg default
- set -g message-fg default
- # Command message
- set -g message-command-bg default
- set -g message-command-fg default
- # Mode
- set -g mode-bg red
- set -g mode-fg default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement