Word through how to enable Copy&Paste in VS Code Terminal with Tmux for Mac
Problem
TMux: Copy and paste commands not working on Mac OS
Solution
Make sure you already download reattach-to-user-namespace
brew install reattach-to-user-namespace
Add below command in .tmux.conf
# Make sure mouse mode is enabled
set -g mouse on# Required by MacOS Sierra and Sierra High.
set -g default-command "reattach-to-user-namespace -l $SHELL"
Finally, add bellow option to settings.json
in VS Code
"terminal.integrated.macOptionClickForcesSelection": true,
Check out my other posts on Medium with a categorized view!
GitHub: BrambleXu
LinkedIn: Xu Liang
Blog: BrambleXu