Unverified50% confidenceFactExact time
The replace command :s is an Ex command in Vim's command-line mode, and its name comes from substitute in the early Unix line editor ed.
1
Sources
50%
Confidence
Long-term
Relevance
11/19/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedVim's command-line mode is a different thing from entering commands in normal mode: in normal mode, pressing :, / or ? enters command-line mode, an input area appears at the bottom of the screen, and after the command executes it automatically returns to normal mode.72% similarUnverifiedVim's persistent undo feature is enabled via the `set undofile` configuration, with undo history stored by default in `.un~` files or in the directory specified by undodir.63% similarUnverifiedIf you want Vim's line number setting to take effect permanently, you should write it into the ~/.vimrc configuration file in the user's home directory, rather than manually entering it each time.63% similarUnverifiedThe command to quit the editor in Vim is :q!, and 'how to exit Vim' has become an internet meme.62% similarUnverifiedEntering :set number (abbreviable as :set nu) in Vim's command mode displays line numbers, and :set nonumber (or :set nonu) turns the display off.62% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1189071API
curl https://kongchang.com/api/v1/knowledge/claims/1189071MCP
get_claim(id=1189071)