update docs

This commit is contained in:
pacexy 2025-01-29 21:00:25 +08:00
parent 20a69abfd9
commit 653b4b0441

View file

@ -110,9 +110,9 @@ It will rerun the current exercise automatically every time you change the exerc
You can specify an editor command with the `--editor` option to open exercises directly from watch mode:
```bash
rustlings --editor code # For VS Code
rustlings --editor vim # For Vim
rustlings --editor "code --wait" # For VS Code with wait option
rustlings --editor code # For VS Code
rustlings --editor vim # For Vim
rustlings --editor "code --wait" # For VS Code with wait argument
```
Then press `e` in watch mode to open the current exercise in your editor.