Skip to content

Instantly share code, notes, and snippets.

@vyspiansky
Created January 31, 2023 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vyspiansky/45d28fefcd065c8a478f5091a8391afc to your computer and use it in GitHub Desktop.
Save vyspiansky/45d28fefcd065c8a478f5091a8391afc to your computer and use it in GitHub Desktop.
Visual Studio Code snippets

How to compare 2 files

code -d left.txt right.txt

Note: where in your ~/.bash_profile file

code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment