Created
September 10, 2020 14:30
-
-
Save brilliant-ember/664a21c5b6afc7505fe62ad25f3568e9 to your computer and use it in GitHub Desktop.
My Linux tmux config, for easy copy-paste between tmux and the computer, and using vim mode, and my preferred color. You have to have xclip installed
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
# paste all of this here: ~/.tmux.conf | |
# for copying to sys clipboard | |
bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard" | |
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard" | |
bind -T copy-mode-vi C-j send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard" | |
#general other stuff | |
set -g default-terminal "xterm-256color" | |
set -g mouse on | |
set-window-option -g mode-keys vi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment