mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 22:51:09 +00:00
Update cheatsheets
This commit is contained in:
38
micro
Normal file
38
micro
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# micro
|
||||
|
||||
> A modern and intuitive terminal-based text editor.
|
||||
> You can use your keyboard, but also your mouse to navigate and/or select text.
|
||||
> More information: <https://micro-editor.github.io>.
|
||||
|
||||
- Open a file:
|
||||
|
||||
`micro {{path/to/file}}`
|
||||
|
||||
- Save a file:
|
||||
|
||||
`<Ctrl> + S`
|
||||
|
||||
- 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`
|
||||
Reference in New Issue
Block a user