mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 14:55:24 +02:00
micro: add page (#1937)
This commit is contained in:
parent
2d920a0ff5
commit
e2ba3a0548
1 changed files with 28 additions and 0 deletions
28
pages/common/micro.md
Normal file
28
pages/common/micro.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# micro
|
||||
|
||||
> Micro is a modern and intuitive terminal-based text editor.
|
||||
> You can use your keyboard, but also your mouse to navigate and/or select text.
|
||||
|
||||
- Open a file:
|
||||
|
||||
`micro {{file}}`
|
||||
|
||||
- Cut the entire line:
|
||||
|
||||
`Ctrl + K`
|
||||
|
||||
- Search for a pattern in the file (press `Ctrl + N`/`Ctrl + P` to go to next/previous match):
|
||||
|
||||
`Ctrl + F "{{pattern}}" <Enter>`
|
||||
|
||||
- Execute a command:
|
||||
|
||||
`Ctrl + E {{command}} <Enter>`
|
||||
|
||||
- Perform a substitution in the whole file:
|
||||
|
||||
`Ctrl + E replaceall "{{pattern}}" "{{replacement}}" <Enter>`
|
||||
|
||||
- Quit:
|
||||
|
||||
`Ctrl + Q`
|
Loading…
Add table
Reference in a new issue