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_windowto/user/bin/code_wait_new_window - Make sure
/user/bin/code_wait_new_windowis marked as executable - Set
EDITORandVISUALenv vars in your.zshrcor wherever your shell profile is stored.