Created
August 2, 2019 11:27
-
-
Save admo/50737284f9a4c5b6aab30769c1fa492e to your computer and use it in GitHub Desktop.
dotfiles
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 from 'C-b' to 'C-a' | |
#unbind C-b | |
#set-option -g prefix C-a | |
#bind-key C-a send-prefix | |
# reload config file (change file location to your the tmux.conf you want to use) | |
bind r source-file ~/.tmux.conf | |
# switch panes using Alt-arrow without prefix | |
bind -n M-Left select-pane -L | |
bind -n M-Right select-pane -R | |
bind -n M-Up select-pane -U | |
bind -n M-Down select-pane -D | |
# set copy-mode to vi | |
set-window-option -g mode-keys vi | |
bind -T copy-mode-vi 'v' send-keys -X begin-selection | |
bind -T copy-mode-vi 'y' send-keys -X copy-selection-and-cancel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment