+4
Daily
18,059
stars
624
forks
305
watchers
74
prs
98
issues
0
releases
README
Chinese |
Japanese |
Portuguese |
Russian |
Vietnamese
Licensed under CC BY-SA 4.0.
Intro
- What is Vim?
- The Vim Philosophy
- First steps
- Minimal vimrc
- What kind of Vim am I running?
- Cheatsheets
Basics
- Buffers, windows, tabs
- Active, loaded, listed, named buffers
- Argument list
- Mappings
- Mapleader
- Registers
- Ranges
- Marks
- Completion
- Motions, operators, text objects
- Autocmds
- Changelist, jumplist
- Undo tree
- Quickfix and location lists
- Macros
- Colorschemes
- Folding
- Sessions
- Locality
Usage
- Getting help offline
- Getting help offline (alternative)
- Getting help online
- Autocmds in practice
- User events
- Nested autocmds
- Clipboard
- Clipboard usage (Windows, macOS)
- Clipboard usage (Linux, BSD, ...)
- Restore cursor position when opening file
- Temporary files
- Backup files
- Swap files
- Undo files
- Viminfo files
- Example configuration for temporary files
- Editing remote files
- Managing plugins
- Block insert
- Running external programs and using filters
- Cscope
- MatchIt
- True colors
Tips
- Go to other end of selected text
- Saner behavior of n and N
- Saner command-line history
- Saner CTRL-L
- Disable audible and visual bells
- Quickly move current line
- Quickly add empty lines
- Quickly edit your macros
- Quickly jump to header or source file
- Quickly change font size in GUI
- Change cursor style dependent on mode
- Don't lose selection when shifting sidewards
- Reload a file on saving
- Smarter cursorline
- Faster keyword completion
- Cosmetic changes to colorschemes
Commands
- :global and :vglobal - Execute a command on all matching lines.
- :normal and :execute - The scripting dream team.
- :redir and execute() - Capture command output.
Debugging
- General tips
- Verbosity
- Profiling startup time
- Profiling at runtime
- Debugging Vim scripts
- Debugging syntax files
Miscellaneous
- Additional resources
- Vim distributions
- Standard plugins
- Map CapsLock to Control
- Generating HTML from buffer
- Easter eggs
- Why hjkl for navigation?
Common problems
- Editing small files is slow
- Editing huge files is slow
- Bracketed paste (or why do I have to set 'paste' all the time?)
- Delays when using escape key in terminal
- Function search undo
Technical quirks
- Newline used for NUL
Terminology
- Vim script? Vimscript? VimL?
List of colorschemes
List of plugins
Intro
What is Vim?
Vim is a text editor with a long line of ancestors that
goes back to qed). Bram
Moolenaar released it in 1991.
The project is hosted online at vim.org.
Getting Vim: Use your favourite package manager or visit the download
page from vim.org.
Discussions and user questions are best done on the
vim_use mailing list or using
IRC (Freenode) in the vim channel.
Development happens on GitHub, discussions on the
vim_dev mailing list.
Read Why, oh WHY, do those ?@! nutheads use
vi? to see common misconceptions about
ViTop issues
#188Proposal: Add a practice sandbox for beginners in CONTRIBUTING.md1 comments · 2026-11-12#186Add Small Hand Mouse0 comments · 2026-07-10#185Add Small Hand Mouse0 comments · 2026-07-10#177Russian translation is not functioning0 comments · 2025-06-22#170Russian translation page will be closed0 comments · 2023-02-03#165Packages: why a manager?0 comments · 2022-01-31#164Font size control on Window0 comments · 2022-01-20