Last active
November 18, 2022 15:34
-
-
Save hardyscc/e9a77f09ea63fdfa787ff86d75b9c967 to your computer and use it in GitHub Desktop.
tmux config (need reattach-to-user-namespace for copy & paste on macos) https://tmuxcheatsheet.com/
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
# enable mouse support | |
set -g mouse on | |
# set default shell | |
set -g default-shell $SHELL | |
set -g default-command "reattach-to-user-namespace -l ${SHELL}" | |
# copy and paste | |
setw -g mode-keys vi | |
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" | |
# color theme | |
set -g default-terminal "xterm-256color" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment