Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dashixiong91/zsh-vscode
a oh-my-zsh plugin to open file in vscode
https://github.com/dashixiong91/zsh-vscode
oh-my-zsh-plugin vscode
Last synced: 2 months ago
JSON representation
a oh-my-zsh plugin to open file in vscode
- Host: GitHub
- URL: https://github.com/dashixiong91/zsh-vscode
- Owner: dashixiong91
- Created: 2016-09-30T02:25:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-16T14:56:36.000Z (over 6 years ago)
- Last Synced: 2024-03-23T02:55:55.818Z (3 months ago)
- Topics: oh-my-zsh-plugin, vscode
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 33
- Watchers: 6
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zsh-plugins - vscode (qianxinfeng) - Plugin for [Visual Studio Code](https://code.visualstudio.com/). (Plugins / ZSH on Windows)
README
## zsh-vscode
This is a oh-my-zsh plugin to open file in vscode
### Requirements
* [Visual Studio Code](https://code.visualstudio.com/)
### Usage
* If `vs` command is called without an argument, launch Visual Studio Code
* If `vs` is passed a directory, `cd` to it and open it in Visual Studio Code
* If `vs` is passed a file, open it in Visual Studio Code
* If `vst` command is called, it is equivalent to `vs .`, opening the current folder in Visual Studio Code
* If `svs` command is called, it is like `sudo vs`, opening the file or folder in Visual Studio Code. Useful for editing system protected files.