close
Skip to main content

Vim is a free and open-source modal text editor available for most major platforms. For non-programming questions, please use https://vi.stackexchange.com instead.

Vim is a free and open source modal text editor with a steep learning curve that leads to high efficiency in many tasks related to text editing. To get started with Vim, run the interactive vimtutor command and read :help user-manual in Vim itself.

Vim is a highly configurable and extensible text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX-like systems and is available on a large number of other systems including Win32, MS-DOS, OS X, AMIGA, OS/2, Cygwin and many more. Vim was originally written by Bram Moolenaar who lead its development for over 30 years. Since 2023, Christian Brabandt has been leading the Vim project.

Vim is often called a "programmer's editor," and is so useful for programming that many consider it to replace an IDE. It's not just for programmers, though. Vim is perfect for all kinds of text editing, from composing email to editing configuration files.

Before you ask

  • Consider posting Vim related questions at Vi and Vim Stack Exchange, especially if the question concerns Vim usage or is not related to programming.
  • Vim has an extensive help system that will often address your questions. Type :help <subject> within Vim to search for help on a particular subject. Use :helpgrep <pattern> for full-text search. The help documentation is also available online. For a thorough introduction, read How do I navigate to topics in Vim's documentation?
  • Search Stack Overflow for similar or duplicate questions.

Free Vim books

Vim books

Documentation

  • In Vim, type :help user-manual.
  • Online user manual at vimhelp.org

Tutorial

See also

License/charityware

Vim is Charityware. You can use and copy it as much as you like, but you are encouraged to make a donation for needy children in Uganda. Please see kcc below or visit the ICCF web site, available at these URLs:

Related tags

  • - Neovim is a fork of Vim and quickly gaining in popularity. Please don't use on pure Neovim questions.
  • - a graphical Vim distribution that behaves more like a native Mac application.
  • - the original vi editor by Bill Joy. Most modern operating systems come with an alias vi that actually runs (a minimal) Vim.
  • - starting Vim in diff mode to compare two or more files.
  • - rules for syntax highlighting and colorization.
  • - questions on Vim's plugin (eco) system.

There are also several dedicated tags for popular plugins.