Vim - the ubiquitous text editor
open sourceVimself-hostablefree
Vim is a highly configurable text editor, an improved version of the Unix vi editor, built to make creating and changing any kind of text efficient. It adds multi-level undo, syntax highlighting for hundreds of languages, command-line history, online help, spell checking, completion, block operations, a scripting language (Vim script and Vim9 script) and an extensive plugin system, and has a GUI as well as running in a terminal. It is included as vi on most Unix systems, runs on Windows, macOS, Linux, Haiku and VMS, and is charityware: its licence is GPL-compatible and asks users to donate to children in Uganda. Most of it was created by Bram Moolenaar.
Ways to install
Package managers
Problems it solves
- edit config files on a remote server over SSH with a powerful editor
- edit text fast with the keyboard only, without reaching for the mouse
- the vi on my server is too bare and I want undo history, syntax highlighting and completion
- an editor that starts instantly in the terminal and works the same on every machine
- record a macro once and repeat an edit across hundreds of lines
- extend my text editor with plugins and a scripting language
- undo back through every change I made, even after branching, in my editor
- spell check and edit prose or LaTeX in the terminal
- a free programmer's editor that runs on Windows, macOS and Linux
Features
- persistent multi-level undo tree
- extensive plugin system
- syntax highlighting for hundreds of programming languages and file formats
- powerful search and replace
- Vim script and Vim9 script
- spell checking and completion
- command-line history and online help
- GUI backends including GTK 2, GTK 3 and GTK 4
- mostly POSIX-compatible vi mode (vim.tiny)
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Forks
- Neovim hyperextensible Vim-based text editor. Its own project since 2014.
Alternatives
The same job
These do what Vim does.
- Helix Post-modern modal text editor for the terminal
- Visual Studio Code The open source platform to write code by hand or out loud
- Neovim hyperextensible Vim-based text editor
- GNU Emacs An extensible, customizable, free/libre text editor — and more
- Zed Zed is a minimal code editor crafted for speed and collaboration with humans and AI.
- Sublime Text Text Editing, Done Right
