mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
c20587ae23
* batch1 * batch * Update pages/common/locust.md Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com> * Update pages/common/locust.md Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com> * Update pages/common/locust.md Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com> * Update pages/common/locust.md Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com> * Update pages/common/locust.md Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com> --------- Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com> Co-authored-by: Sahil Afrid Farookhi <msafarookhi@gmail.com>
34 lines
617 B
Markdown
34 lines
617 B
Markdown
# 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://github.com/zyedidia/micro#usage>.
|
|
|
|
- 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>`
|