The mighty vim
Vim (an acronym for Vi IMproved) is an enhanced version of the Vi text editor, present in all UNIX systems. Bram Moolenaar introduced the first version in 1991.
Vim is a powerful editor that offers many out-of-the-box features. The use of plugins adds new features, making it easier to adapt Vim to specific workflows. Many plugins focus on general functionality, such as locating files, providing information, and dealing with different file syntaxes or Git versioning.
Vim comes included in the Fedora Linux base installation, although not as the default text editor. To change it to the default text editor, add it to the shell configuration file. In Bash, this file is ~/.bashrc
or ~/.bash_profile
.
Add the following global variables to set the vim editor as the default editor:
export VISUAL=vim export EDITOR="$VISUAL"
Both global variables cover the general use of the EDITOR
variable.
A VISUAL
editor is a full-screen editor such as vim or emacs...