From 5844fa224f4a0436436a5c0dbd730ab445dc0874 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Thu, 6 Mar 2025 17:37:37 -0500 Subject: [PATCH] add vscode tmux instructions --- .vscode/vscode.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.vscode/vscode.md b/.vscode/vscode.md index d690d74..e7f529e 100644 --- a/.vscode/vscode.md +++ b/.vscode/vscode.md @@ -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", } ```