Resources đ
- Get Started With Tmux - Sunaina Pai
- tmux/tmux Wiki: Getting Started - Wiki has other useful sections like:
- Clipboard
- Advanced Use
- also clipped here but the actual GitHub Wiki is better
- tmux(1) - Linux manual page
- Tmux Cheat Sheet & Quick Reference
- tmux shortcuts & cheatsheet
- tmux Copy and Paste Methods With and Without the Mouse
How to fix the code
command not working when using tmux in the integrated terminal of VSCode
Solution: Tmux code command fix - ChatGPT
Summary: Check and copy the value of the VSCODE_IPC_HOOK_CLI
environment variable via
export -p | grep -i vscode
Copy it and export the correct value inside the tmux session:
export VSCODE_IPC_HOOK_CLI="${WHATEVER_THE_IPC_SOCKET_PATH_WAS.sock}"
For example, the previous line could look like:
export VSCODE_IPC_HOOK_CLI="/run/user/1046/vscode-ipc-7c5f0793-10fa-4852-a65f-0d36365fb9b0.sock"