micro
all
A modern and intuitive terminal-based text editor. You can use your keyboard, but also your mouse to navigate and/or select text.
More info →Examples (7)
Open a file
micro path/to/fileSave 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>made by @shridhargupta | data from tldr-pages