Last active
June 9, 2020 11:12
-
-
Save carlosvillademor/4fde3ddb7b3c2506a90ceaff8adf50dc to your computer and use it in GitHub Desktop.
Tmux configuration file
This file contains hidden or 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
| # 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' | |
| # 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' | |
| # remap prefix to Control + a | |
| set -g prefix C-a | |
| # bind 'C-a C-a' to type 'C-a' | |
| bind C-a send-prefix | |
| unbind C-b | |
| bind -n C-x setw synchronize-panes | |
| set -g mouse on | |
| set -g @continuum-restore 'on' | |
| # reload config | |
| bind r source-file ~/.tmux.conf \; display-message "Config reloaded..." | |
| # Install TMUX pluing manager and plugins | |
| if "test ! -d ~/.tmux/plugins/tpm" \ | |
| "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'" | |
| # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
| run -b '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment