Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.


A tag is a keyword or label that categorizes your question with other, similar questions. Using the right tags makes it easier for others to find and answer your question.

Vim reads initialization commands from a file called vimrc on startup. This can be used to set settings, define functions, execute autocommands, and more.
A scripting language embedded into Vim. It can be used to customize Vim to suit your needs and to create plugins. Also called VimL.
Doing an action when pressing a key. These are also called key mappings or mappings. For questions about default key bindings, as well as creating or redefining key bindings.
A project that seeks to refactor Vim. Use this tag for questions specifically regarding Neovim-only features (i.e. features not found in Vim and other Vi-like editors).
Syntax highlighting is the use of colours, size, typeface, or other attributes to visually indicate it has a special meaning and therefore make it easier to understand the text. For example, marking l…
572 questions
Regular expressions (often shortened to "regex") are expressions written in a declarative language used for matching patterns within strings.
494 questions
For questions about searching for text with / or search(). For find/replace operations, use tag [substitute] instead.
442 questions
Questions on ex- or colon-commands. For questions about command-line options used to launch the editor, use the [invocation] tag.
409 questions
gVim is the GUI version of Vim (opposed to Vim running in a terminal emulator). It behaves exactly the same, but has additional graphical features.
395 questions
A terminal emulator (or terminal, for short) displays characters, colours, and the cursor on the screen. Vi & Vim are run inside of a terminal, gVim is not.
The representation of a file loaded into memory. Edits are performed on buffers.
381 questions
Questions about cutting, copying, and pasting text. In Vim, "cut" is also called "delete", "copy" is also called "yank", and "paste" is also called "put".
`autocmd`s are commands executed automatically on certain events. Questions on creating or modifying `autocmd` definitions are appropriate for this tag.
356 questions
For questions about prefixing lines with whitespace to aid in readability.
338 questions
For questions about the several commands to complete part of a keyword or line that has been typed.
310 questions
Any operation involving regular expression based substitution of text, such as the ex-mode `:s` command. Not to be confused with the [replace] tag.
307 questions
Moving the cursor another place in the buffer.
275 questions
A Vim window is a view of a buffer. A tab page comprises one or more windows. For questions about interaction with the Microsoft operating system, use [microsoft-windows]. For questions about interact…
274 questions
Command mode is the initial mode. Vim calls this Normal mode. Not to be confused with command-line-mode, which is what you get after you press :, /, ?, or !
264 questions
A colorscheme is a Vim script which sets the colors to be used for the highlight groups.
262 questions
Visual mode is a flexible and easy way to select a piece of text for an operator.
261 questions
The mode in Vi and Vim in which you can insert text to the open document.
260 questions
For questions specific to Vim implementations on the Microsoft Windows operating system.
248 questions
Question about the use of functions in Vimscript defined in the `.vimrc` or a script file.
243 questions
Commands that moves the cursor. A motion command is used after an operator command to move over the text that is to be operated upon.
241 questions
Command or mode to overwrite text. For search-and-replace operations, use the [substitute] tag.
235 questions
Adding highlighting to the document other than syntax highlighting (such as hlsearch or :match)
230 questions
Questions about calling external (shell) commands from within Vi or Vim.
215 questions
A feature which lets visually hide (and toggle) regions of a text file, by replacing its contents with a single outline line.
For questions about Vim's plugin system. NOT for questions about a specific plugin (use the appropriate plugin-* tag) or questions that may require a plugin.
198 questions
Questions about making Vim to have a defined behavior according the type of the edited file.
182 questions
Questions about editing Tex documents, either with or without a frontend such a LaTeX.
181 questions
For questions about the plugin Netrw which adds directory listing to Vim, and allows you to open files over the network (ftp, http, scp, etc).
176 questions
Questions about how to format a file with vim - this includes, but is not limited to, foldings, indents, wrappings, and so on.
174 questions
A macro is a recording of typed commands that can be executed later. Macros are stored in registers; recording a macro can be done with q, and you can run them with @.
164 questions
Questions about splitting current window into multiple viewports.
163 questions
2 3 4 5