Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

38
micro Normal file
View 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`