mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-28 04:53:46 +00:00
Update cheatsheets
This commit is contained in:
37
tldr/edit
Normal file
37
tldr/edit
Normal 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>`
|
||||
Reference in New Issue
Block a user