How To Download and Install Vim In Windows?

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.

https://github.com/vim/vim-win32-installer/releases

Download Vim Installer For Windows

As an example 64-bit Vim installer can be installed via the following link for the version 8.2.1970.

https://github.com/vim/vim-win32-installer/releases/download/v8.2.1970/gvim_8.2.1970_x64.exe

The 32-bit installer for the Vim can be downloaded from the following link for the version 8.2.1970.

https://github.com/vim/vim-win32-installer/releases/download/v8.2.1970/gvim_8.2.1970_x86.exe

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.

Set Vim Installer Language

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.

Vim License Agreement

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.

Choose Components To Install In Vim

In this screen, we will select some Vim configuration and behavior which will be set in _vimrc configuration file.

  • Compatibility and enhancements
  • Mappings
  • Mouse
Set Vim and _vimrc Settings

In this step, we will provide the installation path of Vim for Windows. The default provided path is C:\Program Files\Vim .

Vim Installation Path

This step cotains the installation where dll, exeutables, configuration, reurce files will be copied and configured.

Install Vim on Windows

When the installation is completed successfully you will see the following screen.

Vim Windows Installation Completed

Vim from the start menu by typing vim like below. This will provides complete CLI experience with no GUI related menu.

READ  logoff Command Tutorial

Open Vim

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.

Windows Vim

Open Gvim

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.

Open Gvim

Leave a Comment