Created
June 21, 2018 04:04
-
-
Save tamphh/a765909583dd1d5fb795d4a753ec9506 to your computer and use it in GitHub Desktop.
tmux customization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 '[email protected]/user/plugin' | |
# set -g @plugin '[email protected]/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