- These instructions are intended specifically for installing VIM (Visual editor IMproved or Vi IMproved), an open-source text editor, on Fedora 22.
- I’ll be working from a Liquid Web Self Managed Fedora 22 server, and I’ll be logged in as root.
Perhaps you received the error: -bash: vim: command not found… to resolve it, follow the instructions below!
Step #1: The Installation
As a matter of best practice we’ll update our packages:
dnf -y update
Then let’s install VIM (Visual editor IMproved) and any required packages:
dnf -y install vim-enhanced
Step #2: Verify the Application is Available
Now verify that the application is available by using the following command:
vim
~ VIM - Vi IMproved
~
~ version 7.4.640
~ by Bram Moolenaar et al.
~ Modified by <bugzilla@redhat.com>
~ Vim is open source and freely distributable
~
~ Sponsor Vim development!
~ type :help sponsor for information
~
~ type :q to exit
~ type :help or for on-line help
~ type :help version7 for version info
Step #3: Learn VIM!
For a refresher on editing files with vim see: New User Tutorial: Overview of the Vim Text Editor