mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
edit: add page (#21253)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# edit
|
||||
|
||||
> A terminal-based text editor from Microsoft.
|
||||
> More information: <https://github.com/microsoft/edit>.
|
||||
|
||||
- Open a file:
|
||||
|
||||
`edit {{path/to/file}}`
|
||||
|
||||
- Search for a pattern:
|
||||
|
||||
`<Ctrl f>{{pattern}}<Enter>`
|
||||
|
||||
- Find and replace a pattern:
|
||||
|
||||
`<Ctrl r>{{pattern}}<Enter>`
|
||||
|
||||
- Copy text:
|
||||
|
||||
`<Ctrl c>`
|
||||
|
||||
- Paste text:
|
||||
|
||||
`<Ctrl v>`
|
||||
|
||||
- Open the File menu:
|
||||
|
||||
`<Alt f>`
|
||||
|
||||
- Quit:
|
||||
|
||||
`<Ctrl q>`
|
||||
@@ -0,0 +1,7 @@
|
||||
# msedit
|
||||
|
||||
> This command is an alias of `edit`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr edit`
|
||||
Reference in New Issue
Block a user