mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 20:53:34 +00:00
38 lines
470 B
Plaintext
38 lines
470 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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>`
|