This is a oh-my-zsh plugin to open file in vscode
-
If
vscommand is called without an argument, launch Visual Studio Code -
If
vsis passed a directory,cdto it and open it in Visual Studio Code -
If
vsis passed a file, open it in Visual Studio Code -
If
vstcommand is called, it is equivalent tovs ., opening the current folder in Visual Studio Code -
If
svscommand is called, it is likesudo vs, opening the file or folder in Visual Studio Code. Useful for editing system protected files.