Up to now, Fedora has not had a default terminal text editor, because the
$EDITOR environment variable has been unset by default. Users commonly encountered a terminal text editor when using for example the
git commit command. In such situations, the
git version control system was choosing the
vi text editor which had a steep learning curve.
In Fedora 33,
nano has been set as a default terminal text editor. This change brings the following benefits to users:
nanodoes not require specialist knowledge to use.
nanooffers familiar graphical text editing experience.
nanolowers the barrier to entry for those switching to Fedora, who do not know how to use
nanois already installed across most Fedora Editions and Spins.
Fedora continues to install the
vim-minimal package which provides
vi but not the
vim text editor.
Users are able to call
vi to edit a file or to change the default editor from
Want to help? Learn how to contribute to Fedora Docs ›