Created
October 22, 2017 03:14
-
-
Save qkboo/9915a6f76cd9b7e4986965e8f5e95f2e to your computer and use it in GitHub Desktop.
Favorite .tmux.conf for Tmux Plugins and binding Ctrl to CapsLock
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
# 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 | |
# 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 | |
# Enabling mouse - but sometimes very annoying | |
# Toggle mouse on with META m | |
bind m \ | |
set-option -g mouse on \;\ | |
display 'Mouse: ON' | |
# Toggle mouse off with ^B M | |
bind M \ | |
set-option -g mouse off \;\ | |
display 'Mouse: OFF' | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'tmux-plugins/tmux-resurrect' | |
# 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