mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-05 05:03:16 +02:00
Update README.md
This commit is contained in:
parent
78ad23e6ce
commit
eba4503d3c
1 changed files with 12 additions and 12 deletions
|
|
@ -10,18 +10,18 @@ plugins=(... vscode)
|
||||||
|
|
||||||
## Common aliases
|
## Common aliases
|
||||||
|
|
||||||
| Alias | Command | Description |
|
| Alias | Command | Description |
|
||||||
| ---------------------------- | ----------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
| ----------------------- | ------------------------------ | ----------------------------------------------------------------------------------------------------------- |
|
||||||
| vsc | code . | Open the current folder in VS code |
|
| vsc | code . | Open the current folder in VS code |
|
||||||
| vsca `dir` | code --add `dir` | Add folder(s) to the last active window |
|
| vsca `dir` | code --add `dir` | Add folder(s) to the last active window |
|
||||||
| vscd `file` `file` | code --diff `file` `file` | Compare two files with each other. |
|
| vscd `file` `file` | code --diff `file` `file` | Compare two files with each other. |
|
||||||
| vscg `file:line[:character]` | code --goto `file:line[:character]` | Open a file at the path on the specified line and character position. |
|
| vscg `file:line[:char]` | code --goto `file:line[:char]` | Open a file at the path on the specified line and character position. |
|
||||||
| vscn | code --new-window | Force to open a new window. |
|
| vscn | code --new-window | Force to open a new window. |
|
||||||
| vscr | code --reuse-window | Force to open a file or folder in the last active window. |
|
| vscr | code --reuse-window | Force to open a file or folder in the last active window. |
|
||||||
| vscw | code --wait | Wait for the files to be closed before returning. |
|
| vscw | code --wait | Wait for the files to be closed before returning. |
|
||||||
| vscu `dir` | code --user-data-dir `dir` | Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code. |
|
| vscu `dir` | code --user-data-dir `dir` | Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code. |
|
||||||
|
|
||||||
## Extensions alieases
|
## Extensions aliases
|
||||||
|
|
||||||
| Alias | Command | Description |
|
| Alias | Command | Description |
|
||||||
| ----------------------- | ---------------------------------------------------------------- | --------------------------------- |
|
| ----------------------- | ---------------------------------------------------------------- | --------------------------------- |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue