Skip to content

Instantly share code, notes, and snippets.

@tamphh tamphh/.tmux.conf
Created Jun 21, 2018

Embed
What would you like to do?
tmux customization
#change prefix from C-b to C-a
unbind C-b
set -g prefix C-a
#theme
set -g default-terminal "tmux-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
#-------------------------------------------------------#
##STATUS LINE/MESSAGES AT BOTTOM
#-------------------------------------------------------#
# set -g status-right '#H'
# set -g status-right "%I:%M %p "
# Start window numbering at 1
set -g base-index 1
#-------------------------------------------------------#
#Pane colours
#-------------------------------------------------------#
# set inactive/active window styles
set -g window-style "fg=default,bg=default"
set -g window-active-style 'fg=default,bg=default'
#pane border
set -g pane-border-bg colour235
set -g pane-border-fg colour238
set -g pane-active-border-bg colour236
set -g pane-active-border-fg colour51
# Split panes
bind-key "/" split-window -h -c "#{pane_current_path}"
# tig
bind-key C-t new-window -c "#{pane_current_path}" -n tig "tig status"
# tmux plugin manager - Put this at the bottom of .tmux.conf:
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-pain-control'
# Themes - Nord
set -g @plugin 'arcticicestudio/nord-tmux'
# 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'
set -g status-right ''
# 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
You can’t perform that action at this time.