Created
December 30, 2017 19:51
-
-
Save elliotec/8fa93427b943c11a560c51a191eb1302 to your computer and use it in GitHub Desktop.
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-resurrect' | |
set -g @plugin 'tmux-plugins/tmux-pain-control' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'tmux-plugins/tmux-sessionist' | |
set -g @plugin 'nhdaly/tmux-scroll-copy-mode' | |
set -g @plugin 'tmux-plugins/tmux-open' | |
set -g @plugin 'tmux-plugins/tmux-copycat' | |
set -g default-terminal "screen-256color" | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
set -g default-shell $SHELL | |
# tmuxline setting | |
if-shell "test -f ~/Dropbox/dotfiles/.tmux/tmuxlinesnapshot" "source ~/Dropbox/dotfiles/.tmux/tmuxlinesnapshot" | |
# mouse | |
set -g -q mouse on | |
# reload config file (change file location to the tmux.conf you want to use) | |
bind r source-file ~/.tmux.conf | |
# Use vim keybindings in copy mode | |
setw -g mode-keys vi | |
# Setup 'v' to begin selection as in Vim | |
bind-key -Tcopy-mode-vi 'v' send -X begin-selection | |
bind-key -Tcopy-mode-vi 'y' send -X copy-selection | |
# Don't override window name | |
set-option -g allow-rename off | |
set-window-option -g visual-activity off | |
# Initialize 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