To use VSCode as your editor for command line apps (git, graphite etc.) You will need to:
- Install 'code' command in PATH by openning VSCode and pressing CMD+Shift+P to open the command palatte and then running "Shell Command: Install 'code' command in PATH"
- Add
code_wait_new_window
to/user/bin/code_wait_new_window
- Make sure
/user/bin/code_wait_new_window
is marked as executable - Set
EDITOR
andVISUAL
env vars in your.zshrc
or wherever your shell profile is stored.