Update cheatsheets

This commit is contained in:
ivuorinen
2026-02-27 00:28:17 +00:00
parent 626abade0f
commit a03e958c7f
5 changed files with 61 additions and 16 deletions

37
tldr/edit Normal file
View File

@@ -0,0 +1,37 @@
---
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>`