Files
cheatsheet-tldr/tldr/edit
2026-02-27 00:28:17 +00:00

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>`