How do I paste multiline clipboard text as a comma-separated list in Insert mode?
<C-r>=substitute(getreg('+'), '\n\+', ', ', 'g')<CR>
When you paste from the system clipboard into code or config, multiline text often needs to be flattened first.
category:
registers
tags:
#registers
#insert-mode
#expression-register
#text-processing
How do I insert a register in Insert mode without reindenting each inserted line?
When you paste multiline snippets from a register while in Insert mode, default insertion can trigger indentation and formatting side effects line by line.
category:
registers
tags:
#registers
#insert-mode
#formatting
#indentation
#editing
How do I insert the unnamed register literally in Insert mode without auto-indent side effects?
In Insert mode, plain {register} inserts register content but may reindent or auto-format depending on context.
category:
registers
tags:
#registers
#insert-mode
#editing
#indentation
#text
How do I prepend text to every line in a visual block selection?
When you need to add the same prefix to many adjacent lines, Visual Block insert is faster and safer than repeating macros or substitutions.
category:
visual-mode
tags:
#visual-mode
#editing
#blockwise
#insert-mode
How do I enable syntax-based completion without plugins using completefunc?
:set completefunc=syntaxcomplete#Complete
If omnifunc is unavailable for a filetype, Vim can still offer meaningful completion by using syntax groups.
category:
config
tags:
#config
#completion
#insert-mode
#filetype
How do I make mappings feel snappier without breaking key-code timing?
:set timeout timeoutlen=400 ttimeoutlen=30
If custom mappings feel laggy, the issue is often timeout tuning rather than mapping design.
category:
config
tags:
#config
#mappings
#performance
#command-line
#insert-mode
How do I restrict keyword completion to current buffer, windows, buffers, and tags for predictable results?
Default keyword completion can feel noisy in large projects because Vim may scan extra sources you do not care about in the moment.
category:
config
tags:
#config
#completion
#insert-mode
#performance
#tags
How do I replace the next word with a yanked word without clobbering the unnamed register?
When you are doing repetitive refactors, cw is fast but it overwrites the unnamed register with the replaced text.
category:
registers
tags:
#registers
#editing
#normal-mode
#insert-mode
How do I speed up mappings without breaking terminal keycode sequences in Vim?
:set timeoutlen=300 ttimeoutlen=10
If key mappings feel laggy, many users reduce timeoutlen and stop there.
category:
config
tags:
#config
#mappings
#terminal
#performance
#insert-mode
How do I make Vim completion menu appear without auto-inserting a candidate?
:set completeopt=menuone,noinsert,noselect
When completion inserts text too early, you lose control over what gets committed and where undo breakpoints land.
category:
config
tags:
#config
#completion
#insert-mode
#options
How do I hide noisy completion messages in Vim's command line?
Insert-mode completion can spam the command line with status text like "match 1 of N" and related prompts.
category:
config
tags:
#config
#completion
#command-line
#options
#insert-mode
How do I insert special Unicode characters and symbols using Vim's built-in digraph system?
Vim's digraph system lets you type hundreds of special characters — arrows, fractions, accented letters, currency symbols, and more — using intuitive two-ch
category:
editing
tags:
#insert-mode
#editing
How do I enable fuzzy matching for insert mode completion in Neovim 0.11?
Neovim 0.
category:
config
tags:
#completion
#config
#insert-mode
How do I set up blink.cmp as a faster, Rust-powered completion engine in Neovim?
blink.
category:
plugins
tags:
#completion
#plugins
#lsp
#insert-mode
How do I execute a single normal mode command inside a Neovim terminal buffer without fully leaving terminal mode?
In a Neovim terminal buffer, exits to normal mode permanently.
category:
buffers-windows
tags:
#terminal
#buffers-windows
#insert-mode
#neovim
#normal-mode
How do I paste register contents in insert mode without triggering auto-indentation?
When you paste a register in insert mode with {reg}, Vim inserts the text as if you had typed it — which means auto-indent, abbreviation expansion, and other
category:
registers
tags:
#registers
#insert-mode
#paste
#autoindent
#editing
How do I enable native LSP-powered completion in Neovim without installing nvim-cmp or other plugins?
vim.lsp.completion.enable()
Neovim 0.
category:
plugins
tags:
#completion
#insert-mode
#editing
How do I use Neovim's built-in native snippet support to expand snippets without a plugin?
Neovim 0.
category:
plugins
tags:
#editing
#completion
#insert-mode
How do I enable an alternative digraph entry mode where I type two characters then backspace?
With :set digraph enabled, you can enter special characters in insert mode by typing the two-character digraph code followed by (backspace).
category:
config
tags:
#insert-mode
#digraphs
#unicode
#special-characters
#config
How do I complete keywords using only the current buffer as the source?
triggers keyword completion that searches only the current buffer for matches, scanning forward from the cursor.
category:
editing
tags:
#completion
#insert-mode
#editing