In which language is Vim written

Vim

Note: This article specifically refers to Vim, the more powerful clone of vi

Vim shows an fstab in xterm, here with activated syntax highlighting

Vim is one of the most advanced, free clones of the standard editor vi and as such a de facto standard, especially on Linux systems. Additional properties are e.g.

  • Syntax highlighting,
  • Programmability,
  • Expandability through plug-ins,
  • Code Folding (collapse of sections in the text) as well as
  • Representation in several sub-windows.

installation

The program is available as vim in and can be installed from there using Pacman.

Vim can only be called up on the console or in a terminal.

Instructions for operation can be found under web links.

The GUI variant GVim is in a separate package.

# pacman -S gvim

This program opens its own X11 window, has a menu, file dialogs, scroll bar, and other GUI-specific properties.

Vim conflicts with GVim: either Vim or GVim can be installed, but not both programs at the same time. See News: Vim / GVim 7.2.411 Update. However, the gvim package comes with the non-graphic version, which can be started as usual with vim.

There are also a number of plug-ins that must be installed separately in the repositories.

configuration

vi and Vim share the configuration file when both programs are installed. The settings are not compatible with each other. You should only configure Vim via and set the option.

Manual settings can be written in the above configuration file, then without leading colons. However, Vim also offers the possibility to set such options at runtime, to test them and to save them in the configuration file (s). The commands for this are:

: set all: set