diff --git a/pages/common/micro.md b/pages/common/micro.md new file mode 100644 index 0000000000..2b00a28b29 --- /dev/null +++ b/pages/common/micro.md @@ -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}}" ` + +- Execute a command: + +`Ctrl + E {{command}} ` + +- Perform a substitution in the whole file: + +`Ctrl + E replaceall "{{pattern}}" "{{replacement}}" ` + +- Quit: + +`Ctrl + Q`