Skip to main content


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.
for questions specifically regarding Neovim-only features (i.e. features not found in Vim and other Vi-like editors). It should only be used if the problem does NOT occur in Vim or other …
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.
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…
Regular expressions (often shortened to "regex") are expressions written in a declarative language used for matching patterns within strings.
564 questions
For questions about searching for text with / or search(). For find/replace operations, use tag [substitute] instead.
488 questions
Questions on ex- or colon-commands. For questions about command-line options used to launch the editor, use the [invocation] tag.
476 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.
459 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.
454 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".
454 questions
`autocmd`s are commands executed automatically on certain events. Questions on creating or modifying `autocmd` definitions are appropriate for this tag.
446 questions
The representation of a file loaded into memory. Edits are performed on buffers.
439 questions
For questions about prefixing lines with whitespace to aid in readability.
383 questions
For questions about the several commands to complete part of a keyword or line that has been typed.
Any operation involving regular expression based substitution of text, such as the ex-mode `:s` command. Not to be confused with the [replace] tag.
350 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…
317 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 !
311 questions
A colorscheme is a Vim script which sets the colors to be used for the highlight groups.
Visual mode is a flexible and easy way to select a piece of text for an operator.
308 questions
Moving the cursor another place in the buffer.
302 questions
The mode in Vi and Vim in which you can insert text to the open document.
289 questions
Question about the use of functions in Vimscript defined in the `.vimrc` or a script file.
287 questions
For questions specific to Vim implementations on the Microsoft Windows operating system.
278 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.
264 questions
Overwriting text with the r or R commands. For search-and-replace operations, use the [substitute] tag.
262 questions
Adding highlighting to the document other than syntax highlighting (such as hlsearch or :match)
260 questions
A feature which lets visually hide (and toggle) regions of a text file, by replacing its contents with a single outline line.
244 questions
Questions about calling external (shell) commands from within Vi or Vim.
232 questions
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.
224 questions
Questions about making Vim to have a defined behavior according the type of the edited file.
222 questions
For questions on editing TeX documents, either with or without a frontend such as LaTeX.
208 questions
Questions about the Netrw plugin which adds directory listing to Vim, and allows you to open files over the network (ftp, http, scp, etc).
206 questions
Registers store snippets of text for yank (copy), delete (cut), put (paste). In Vim, registers are also used for macro playback and some registers are special and can reference the OS clipboard or eva…
204 questions
Questions about how to format a file with vim - this includes, but is not limited to, foldings, indents, wrappings, and so on.
204 questions
Questions about splitting current window into multiple viewports.
201 questions
2 3 4 5