Created
August 23, 2017 02:02
-
-
Save dafyddcrosby/376c04ae39ac1c44d844dc23a006814b to your computer and use it in GitHub Desktop.
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
# Use vim keybindings in copy mode | |
setw -g mode-keys vi | |
unbind p | |
bind p paste-buffer | |
bind -T copy-mode-vi 'v' send -X begin-selection | |
bind -T copy-mode-vi 'C-v' send -X rectangle-toggle | |
# Pre-tmux 2.3 vi bindings | |
#bind-key -t vi-copy 'v' begin-selection | |
#bind-key -t vi-copy 'C-v' begin-selection | |
# Make it easy to tell the active pane | |
set-option -g pane-active-border-bg blue | |
set-option -g pane-active-border-fg green | |
# Reload source | |
bind r source-file ~/.tmux.conf \; display "source-file reloaded!" | |
# Split panes | |
bind | split-window -h | |
bind - split-window -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment