docs: Fix a typo in replacement command in vim doc (#13288)

### Changes 

- Fix a typo in the replacement command
- Align command descriptions for better readability

Release Notes:

- N/A
This commit is contained in:
Hugh Do 2024-06-20 18:03:25 +09:00 committed by GitHub
parent 4b19eac5c8
commit 558808b97d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -204,7 +204,7 @@ Currently supported vim-specific commands:
:%s/foo/bar/
to replace instances of foo with bar
:X,Ys/foo/bar/
to limit replcaement between line X and Y
to limit replacement between line X and Y
other ranges are not yet implemented
# editing
@ -219,13 +219,13 @@ Currently supported vim-specific commands:
As any Zed command is available, you may find that it's helpful to remember mnemonics that run the correct command. For example:
```
:diff Toggle Hunk [Diff]
:diffs Toggle all Hunk [Diffs]
:revert Revert Selected Hunks
:cpp [C]o[p]y [P]ath to file
:crp [C]opy [r]elative [P]ath
:diff Toggle Hunk [Diff]
:diffs Toggle all Hunk [Diffs]
:revert Revert Selected Hunks
:cpp [C]o[p]y [P]ath to file
:crp [C]opy [r]elative [P]ath
:reveal [Reveal] in finder
:zlog Open [Z]ed Log
:zlog Open [Z]ed Log
```
## Settings