Last active
June 21, 2021 20:46
-
-
Save jkao/1e9d0244c773188c3e5a9d629c7671ad to your computer and use it in GitHub Desktop.
.tmux.conf
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
# colors | |
set -g default-terminal 'screen-256color' | |
# rebind | |
bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." | |
bind-key ` copy-mode | |
bind-key p paste-buffer | |
# admin debris | |
set -g status-left '' | |
set -g status-right '' | |
# set -g prefix C-b | |
bind-key C-b send-prefix | |
# vim | |
setw -g mode-keys vi | |
# set up 'v' selection | |
bind-key -T copy-mode-vi 'v' send -X begin-selection | |
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel | |
# unbind previous and switch to paste | |
unbind p | |
bind p paste-buffer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment