Last active
December 18, 2015 16:09
-
-
Save austenito/5808986 to your computer and use it in GitHub Desktop.
tmux conf for copying and pasting
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
# fixes mac os-x clipboad -> https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard | |
set-option -g default-command "reattach-to-user-namespace -l zsh" | |
# vi mode | |
setw -g mode-keys vi | |
unbind p | |
bind p paste-buffer | |
bind -t vi-copy v begin-selection | |
bind -t vi-copy c copy-selection | |
bind y send-keys c\;\ | |
run-shell "tmux save-buffer - | reattach-to-user-namespace pbcopy" | |
set-window-option -g xterm-keys on | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment