SoonTool
Simple, Practical, Useful
English

Vim Commands Reference

Comprehensive Vim command reference manual with detailed usage, parameter descriptions, and practical examples. Features search functionality for quick lookup.

Navigation
6
h/j/k/l
Left/Down/Up/Right movement
Usage:
h (left), j (down), k (up), l (right)
Examples:
movementnavigationcursorarrow
w/W
Jump to next word beginning (lowercase ignores punctuation)
Usage:
w (word), W (WORD)
Examples:
wordjumpforwardmovement
b/B
Jump back to word beginning
Usage:
b (word), B (WORD)
Examples:
wordjumpbackmovement
0/$
Jump to line beginning/end
Usage:
0 (beginning), $ (end)
Examples:
linebeginningendmovement
gg/G
Jump to file beginning/end
Usage:
gg (beginning), G (end)
Examples:
filebeginningendjump
Ctrl+f/Ctrl+b
Page down/up
Usage:
Ctrl+f (down), Ctrl+b (up)
Examples:
pagescrolldownup
Editing
6
i/a
Insert before/after cursor
Usage:
i (before), a (after)
Examples:
insertmodeedit
o/O
Insert new line below/above current line
Usage:
o (below), O (above)
Examples:
new lineinsertbelowabove
d
Delete text (combine with movement commands)
Usage:
d + movement
Examples:
deleteremovetext
c
Change text (delete and enter insert mode)
Usage:
c + movement
Examples:
changeeditreplace
p/P
Paste after/before cursor
Usage:
p (after), P (before)
Examples:
pasteputinsert
u/Ctrl+r
Undo/Redo
Usage:
u (undo), Ctrl+r (redo)
Examples:
undoredohistory
Yank/Paste
2
y
Yank (copy) text
Usage:
y + movement
Examples:
yankcopytext
"ay
Yank to register a
Usage:
"a + y + movement
Examples:
registeryankcopy
Search/Replace
4
/pattern
Search forward
Usage:
/pattern
Examples:
searchforwardpattern
?pattern
Search backward
Usage:
?pattern
Examples:
searchbackwardpattern
n/N
Next/Previous search result
Usage:
n (next), N (previous)
Examples:
nextprevioussearchmatch
:%s/old/new/g
Global replace
Usage:
:%s/old/new/g
Examples:
replacesubstituteglobal
File Operations
4
:w
Write (save) file
Usage:
:w [filename]
Examples:
writesavefile
:q
Quit
Usage:
:q
Examples:
quitexitclose
:wq
Write and quit
Usage:
:wq
Examples:
writequitsaveexit
:e filename
Edit file
Usage:
:e filename
Examples:
editopenfile
Window Management
4
:split
Split window horizontally
Usage:
:split [filename]
Examples:
splitwindowhorizontal
:vsplit
Split window vertically
Usage:
:vsplit [filename]
Examples:
splitwindowvertical
Ctrl+w hjkl
Navigate between windows
Usage:
Ctrl+w + h/j/k/l
Examples:
windownavigatemove
Ctrl+w +/-
Increase/decrease window height
Usage:
Ctrl+w + (increase), Ctrl+w - (decrease)
Examples:
windowresizeheight
Visual Mode
3
v
Enter character visual mode
Usage:
v
Examples:
visualselectcharacter
V
Enter line visual mode
Usage:
V
Examples:
visualselectline
Ctrl+v
Enter block visual mode
Usage:
Ctrl+v
Examples:
visualselectblock
Macros/Repeating
3
qa
Start recording macro to register a
Usage:
qa
Examples:
macrorecordregister
:q
Quit
Usage:
:q
Examples:
quitexitclose
@a
Execute macro from register a
Usage:
@a
Examples:
macroexecuteregister
Registers
3
:reg
Show all registers
Usage:
:reg [register]
Examples:
registershowdisplay
"ayy
Yank current line to register a
Usage:
"ayy
Examples:
registeryankline
"ap
Paste content from register a
Usage:
"ap
Examples:
registerpastecontent
Plugins
3
:PluginInstall
Install plugins (requires plugin manager like Vundle)
Usage:
:PluginInstall
Examples:
plugininstallvundle
:PluginUpdate
Update plugins
Usage:
:PluginUpdate
Examples:
pluginupdateupgrade
:PluginClean
Clean unused plugins
Usage:
:PluginClean
Examples:
plugincleanremove
Related Tools
LLM Token Calculator
Accurately calculate large language model Token consumption, estimate API call costs and processing time.
Markdown Live Preview
Full-featured Markdown editor with real-time preview and syntax highlighting support.
Color Palette
Provide color palette tools to help users select suitable color schemes.
Time Converter
Professional timezone and time format conversion tool, supporting multiple time formats and timestamp conversion with real-time current time display.
Linux Commands Reference
Comprehensive Linux command reference manual with detailed usage, parameter descriptions, and practical examples. Features search functionality for quick lookup.
Git Commands Reference
Comprehensive Git command reference manual with detailed usage, parameter descriptions, and practical examples. Features search functionality for quick lookup.
Vim Commands Reference
Comprehensive Vim command reference manual with detailed usage, parameter descriptions, and practical examples. Features search functionality for quick lookup.
Bookmark Manager
Manage your favorite websites with batch operations and local storage, providing URL validation.
QR Code Generator
Quickly generate QR codes in various formats with custom styles and batch download. Provides QR code generation services for URLs, text, contact information and more.
Barcode Generator
Professional 1D barcode generation tool supporting multiple barcode formats (EAN, UPC, Code128, Code39, etc.) with custom styles and batch generation features.
Online Encryption Tool
Provides secure and reliable text encryption and decryption functionality with custom keys to protect your private information.
Text Diff Tool
Quickly compare differences between two text segments with real-time preview and highlighting to help you identify text changes efficiently.
JSON Formatter
Professional JSON data formatting, compression, and validation tool with syntax highlighting and error detection, providing rich formatting options.
JSON Diff Tool
Professional JSON data comparison tool with automatic formatting and highlighted differences, supporting multiple comparison modes and detailed difference analysis.
Regular Expression Preview Tool
Real-time validation and testing of regular expressions with rich examples and detailed explanations, supporting multiple regex flags and match result display.
Text Splitter and Formatter
Split text by specified characters with custom delimiters, replace separators and multiple formatting options, providing convenient text processing functionality.
Date Calculator
Professional date calculation tool that can calculate the difference between two dates and find future dates from a specified date. Supports multiple time unit displays and provides millisecond-level precision calculations.