add vscode tmux instructions

This commit is contained in:
2025-03-06 17:37:37 -05:00
parent ae0e17c66f
commit 5844fa224f

16
.vscode/vscode.md vendored
View File

@@ -21,11 +21,23 @@ Add to user keyboard settings (json)
## Shell
Edit settings.json
I would recommend using tmux as your default shell. VSCode automatically creates new
sessions when adding or splitting windows. The only small problem is closing out of
vscode and reopening it won't reattach the previous sessions. You'll need to run
`tmux switch-client -t #` to get back to each session you lost.
```json
"terminal.integrated.profiles.osx": {
//...existing profiles...
"tmux-shell": {
"path": "tmux",
}
}
```
```bash
{
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.defaultProfile.linux": "tmux",
}
```