man > ex(1)

📝 NAME

vim — Vi IMproved, a programmer's text editor

🚀 Quick Reference

Use CaseCommandDescription
📄 Edit a filevim fileOpen file in Vim.
đŸ“Ĩ Read from stdinvim -Read file from standard input.
🔍 Start in diff modevim -d file1 file2Show differences between files.
🔒 Read-only modevim -R fileOpen file read-only.
đŸ–Ĩī¸ Start in Ex modevim -eUse Ex mode (line editor).
đŸ–ŧī¸ GUI versiongvimStart Vim with graphical interface.
🔄 Recovery modevim -r fileRecover file from swap file.
📐 Open N windowsvim -o[N] file1 file2Open N stacked windows.
📐 Open N tabsvim -p[N] file1 file2Open N tab pages.
📖 Get helpvim --helpShow help message and exit.
â„šī¸ Version infovim --versionPrint version information.

📋 SYNOPSIS

vim [options] [file ..]
vim [options] -
vim [options] -t tag
vim [options] -q [errorfile]

ex
view
gvim gview evim eview
rvim rview rgvim rgview

📖 DESCRIPTION

Vim is a text editor that is upwards compatible to Vi. It can be used to edit all kinds of plain text. It is especially useful for editing programs.

There are a lot of enhancements above Vi: multi level undo, multi windows and buffers, syntax highlighting, command line editing, filename completion, on-line help, visual selection, etc. See :help vi_diff.txt for a summary of the differences between Vim and Vi.

While running Vim a lot of help can be obtained from the on-line help system, with the :help command. See the ON-LINE HELP section below.

Most often Vim is started to edit a single file with the command

vim file

More generally Vim is started with:

vim [options] [filelist]

If the filelist is missing, the editor will start with an empty buffer. Otherwise exactly one out of the following four may be used to choose one or more files to be edited.

Vim behaves differently, depending on the name of the command (the executable may still be the same file).

âš™ī¸ OPTIONS

The options may be given in any order, before or after filenames. Options without an argument can be combined after a single dash.

📚 ON-LINE HELP

Type :help in Vim to get started. Type :help subject to get help on a specific subject. For example: :help ZZ to get help for the "ZZ" command. Use <Tab> and CTRL-D to complete subjects (:help cmdline-completion). Tags are present to jump from one place to another (sort of hypertext links, see :help). All documentation files can be viewed in this way, for example :help syntax.txt.

📁 FILES

For recent info read the VIM home page:
<http://www.vim.org/>

🔗 SEE ALSO

vimtutor(1)

âœī¸ AUTHOR

Most of Vim was made by Bram Moolenaar, with a lot of help from others. See :help credits in Vim.
Vim is based on Stevie, worked on by: Tim Thompson, Tony Andrews and G.R. (Fred) Walter. Although hardly any of the original code remains.

🐛 BUGS

Probably. See :help todo for a list of known problems.

Note that a number of things that may be regarded as bugs by some, are in fact caused by a too-faithful reproduction of Vi's behaviour. And if you think other things are bugs "because Vi does it differently", you should take a closer look at the vi_diff.txt file (or type :help vi_diff.txt when in Vim). Also have a look at the 'compatible' and 'cpoptions' options.

2006 Apr 11 — VIM(1)

ex(1)
📝 NAME 🚀 Quick Reference 📋 SYNOPSIS 📖 DESCRIPTION âš™ī¸ OPTIONS 📚 ON-LINE HELP 📁 FILES 🔗 SEE ALSO âœī¸ AUTHOR 🐛 BUGS

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-31 00:04 @216.73.217.152
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format

^_top_^