Skip to content

Instantly share code, notes, and snippets.

@leveled
Last active September 14, 2016 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leveled/c1afc6cb3350e0a7c69b8c15b2da1d74 to your computer and use it in GitHub Desktop.
Save leveled/c1afc6cb3350e0a7c69b8c15b2da1d74 to your computer and use it in GitHub Desktop.
Tmux Conf settings
# Vi like movement in buffer
setw -g mode-keys vi
# Starts window numbering at 1, renumbers automatically, increases scrollback history limit
set -g base-index 1
setw -g pane-base-index 1
set -g renumber-windows on
set -g history-limit 10000
# Rebinding for navigating within panes
unbind-key j
bind-key j select-pane -D
unbind-key k
bind-key k select-pane -U
unbind-key h
bind-key h select-pane -L
unbind-key l
bind-key l select-pane -R
# set default shell to fish
set -g default-shell /usr/local/bin/fish
# bind P to development layout
bind-key P source-file ~/.tmux/dev
# send prefix to nested windows with Ctrl + A
bind-key -n C-a send-prefix
#### COLOUR (Solarized 256)
#
## default statusbar colors
set-option -g status-bg colour235 #base02
set-option -g status-fg colour136 #yellow
set-option -g status-attr default
#
## default window title colors
set-window-option -g window-status-fg colour244 #base0
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 colour166 #orange
set-window-option -g window-status-current-bg default
set-window-option -g window-status-current-attr bright
#
## pane border
set-option -g pane-border-fg colour235 #base02
set-option -g pane-active-border-fg colour240 #base01
#
## message text
set-option -g message-bg colour235 #base02
set-option -g message-fg colour166 #orange
#
## pane number display
set-option -g display-panes-active-colour colour33 #blue
set-option -g display-panes-colour colour166 #orange
#
## clock
set-window-option -g clock-mode-colour colour64 #green
## Restores pane contents on restore
#set -g @ressurect-capture-pane-contents 'on'
## Restore vim sessions
#set -g @ressurect-strategy-vim 'session'
##Continuum Config, OSX Only
set -g @continuum-boot 'on'
set -g @continuum-boot-options 'iterm,fullscreen'
# List of 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'
# # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment