Vim is a popular text editor derived from the Vi. Vim is the improved version of the Vi. Vim is a cross-platform and command-line text editor that can be used with or without a GUI. Vim is mainly created for the Unix, BSD, and Linux systems but as a cross-platform and command-line text editor, it is ported to the other operating systems like Windows.
VIM vs GVIM
Vim is a command-line text editor and in order to use native vim you should work on the command line. Gvim is the graphical vim that can be used with graphic environments. For Windows the installation of the Vim will also install Gvim in order to use the Vim from the desktop.
Download Vim Installer For Windows
The vim installers for Windows are provided in different formats like 32-bit installed, 64-bit installer, Portable version 32-bit, or 64-bit executables. These installers are provided via the Vim Github repository on the release page.
As an example 64-bit Vim installer can be installed via the following link for the version 8.2.1970.
The 32-bit installer for the Vim can be downloaded from the following link for the version 8.2.1970.
Install Vim On Windows
First we will double click to the downloaded Windows installer file which will show the following start screen. This screen is named as Installer Language where English is the default language but you can install in different languages like French, German etc.
In this step we will see the following welcome screen which provide some generic information.
In this step the license agreement and license information about the Vim will be provided.
The most important part is the following step where the components which will be installed are selected. You can select the type of install which can be full, minimal etc. Or select the components one by one with the checkboxes.
In this screen, we will select some Vim configuration and behavior which will be set in _vimrc configuration file.
- Compatibility and enhancements
In this step, we will provide the installation path of Vim for Windows. The default provided path is C:\Program Files\Vim .
This step cotains the installation where dll, exeutables, configuration, reurce files will be copied and configured.
When the installation is completed successfully you will see the following screen.
Vim from the start menu by typing vim like below. This will provides complete CLI experience with no GUI related menu.
Vim can be opened from the Start menu by typing vim which will list the Vim application launcher. After the Vim is opened we will see very similar screen like in Linux. We can start adding text by pressing i like below.
or Gvim can be opened from the desktop shortcut which is added to the desktop automatically. Gvim provides GUI related menu and functions like below. The welcome screen of the GVIM provides information about the Vim version, how to get help from the Vim command line, and a social message which is “Help poor children in Uganda!” that is supported by us too.