

Micro supports horizontal and vertical split.

Micro Themes Micro Horizontal and Vertical Splits You can press the tab after typing set which will popup options for you. To set a theme press CTRL+E and type the following command. Micro has a set of built-in light and dark themes. You can also create custom keybindings in bindings.json file stored under your home directory ~/.config/micro/bindings.json. To get the list of default keybindings open the command bar ( CTRL+E) and type the following command. Micro Built-in Command Bar Micro KeybindingsĬreator of micro tried using the same set of common keys we use in popular text editors. This is well documented in the help section. Micro has a built-in command bar from which you will modify parameters, open new files, perform splits, and many more. Micro Keybindings Micro Built-in Command Bar Likewise, if you need keybindings to be displayed press ALT + G. If you ever used nano text editor keybindings will be displayed at the bottom. To access help inside micro-press CTRL + G. Try to access help to get to know more about micro. $ micro ~/newfile.txt # Creates a file named newfile.txt $ micro ~/.bashrc # Opening an existing file You can also open an existing file or create a new file you can do it in the following ways. Simply type micro which will create an empty buffer. Move the micro binary from your current directory from where you ran the curl command to the /usr/bin/ directory.
#Command line text editor install#
Run the following command which will download the script and install the latest version of the micro text editor. There is an installation script that can take care of installing micro. I will not show all the methods but only one method that will work across all the distributions. There are many ways you can install Micro in your Linux distribution.
#Command line text editor how to#
How to Install Micro Text Editor in Linux Supports Horizontal and Vertical splits.Custom keybindings and Built-in keybindings similar to normal text editors.

Supports syntax highlighting for 70+ languages.It will not be fair to say micro is a suitable replacement for VIM or Emacs since they offer much more features than what micro offers at the moment and I hope in future micro grows to the same comparable level. Tired of using a Nano text editor? Then surely you have to try Micro – is a simple terminal-based text editor written in Go Language and released under MIT license.
