Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Do not open Emacs in VSCode Terminal
#!/bin/bash
if [ $TERM_PROGRAM = 'vscode' ]; then
code $*
else
exec emacsclient -t -a "" $*
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment