Customizing Your Editor¶
If you are new to command-line editors, you may feel they are difficult to use. Indeed, it could be true if you use them without customization. But, if you customize them for yourself, they can become your best.
Try and choose one of editors¶
There are various editors usable on Linux. TAs know following editors. There would be a lot more. Please try them and find easiest one for you.
Editor |
Description |
---|---|
nano |
simple, but less customizability |
vim |
complex, but highly customizable. |
emacs |
same as vim |
micro |
simple and easier than nano. Mouse cursor is supported. |
Getting started on Ubuntu¶
nano:
$ sudo apt install nano
vim:
$ sudo apt install vim
emacs:
$ sudo apt install emacs
micro:
$ cd ~
$ curl https://getmic.ro | bash
Launching micro:
$ ~/micro FILE_NAME
Customize your editor¶
Please choose an editor and customize it. vim, emacs and micro allow us to customize appearance. vim and emacs support auto-completion if you properly set up.
The first step is googling with a phrase something like “customize vim”.