|
|
@ -1,4 +1,7 @@ |
|
|
# Personalized settings for tmux. |
|
|
# Personalized settings for tmux. |
|
|
|
|
|
# |
|
|
|
|
|
# These settings require the use of Tmux Plugin Manager. |
|
|
|
|
|
# |
|
|
# Usage: |
|
|
# Usage: |
|
|
# |
|
|
# |
|
|
# ln -s ~/.tmux.conf <path to this file> |
|
|
# ln -s ~/.tmux.conf <path to this file> |
|
|
@ -15,8 +18,26 @@ unbind % |
|
|
bind v split-window -h |
|
|
bind v split-window -h |
|
|
bind h split-window -v |
|
|
bind h split-window -v |
|
|
|
|
|
|
|
|
# Enable 256 colors. |
|
|
|
|
|
set -g default-terminal 'screen-256color' |
|
|
|
|
|
|
|
|
|
|
|
# Enable vi-like key bindings for navigating around buffers. |
|
|
# Enable vi-like key bindings for navigating around buffers. |
|
|
set-window-option -g mode-keys vi |
|
|
set-window-option -g mode-keys vi |
|
|
|
|
|
|
|
|
|
|
|
# Force tmux to consider the enclosing terminal true-color-capable. |
|
|
|
|
|
set -ga terminal-overrides ',screen-256color:Tc' |
|
|
|
|
|
|
|
|
|
|
|
# List of plugins |
|
|
|
|
|
set -g @plugin 'tmux-plugins/tpm' |
|
|
|
|
|
set -g @plugin 'tmux-plugins/tmux-sensible' |
|
|
|
|
|
|
|
|
|
|
|
# Install Gruvbox theme for Tmux. |
|
|
|
|
|
set -g @plugin 'egel/tmux-gruvbox' |
|
|
|
|
|
set -g @tmux-gruvbox 'dark' # or 'light' |
|
|
|
|
|
|
|
|
|
|
|
# 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' |
|
|
|
|
|
|
|
|
|
|
|
# Initialize TMUX plugin manager. |
|
|
|
|
|
# |
|
|
|
|
|
# WARNING: Keep this line at the very bottom of tmux.conf! |
|
|
|
|
|
run '~/.tmux/plugins/tpm/tpm' |