How do you use vim-fugitive for Git operations?
:Git or :G
vim-fugitive provides Git integration.
2277 results for "@a"
:Git or :G
vim-fugitive provides Git integration.
:history /
Power users tend to run long, composable searches during refactors, but the default / and ? history navigation can be noisy when command history and search hist
[p
When you copy code from one indentation level and paste it at another, p preserves the original indentation, leaving your code misaligned.
:set spell
The :set spell command activates Vim's built-in spell checker, which highlights misspelled words directly in your buffer.
:set foldmethod=marker
Setting foldmethod=marker lets you define fold boundaries using special comment markers — {{{ to start a fold and }}} to end it.
:cexpr []
After a :grep, :make, or :vimgrep run, the quickfix list fills with results.
command-line #command-line #buffers-windows #quickfix #ex-commands
:<C-f>
Long Ex commands are easy to mistype when you edit inline on a single command line.
<C-r><C-f>
While typing a command, inserts the filename under the cursor in the buffer at the command-line prompt.
<leader><leader>w
vim-easymotion lets you jump to any visible position by highlighting targets with unique letters.
[I
How it works The [I command searches the current file (and included files) for the word under the cursor and displays a list of all matching lines with their li
<C-d> (in command mode)
Pressing in Vim's command line displays the full list of matching completions below the command prompt, without cycling through them one at a time.
command-line #command-line #completion #ex-commands #navigation
:set jumpoptions+=view
By default, when you navigate the jump list with (older) or (newer), Neovim restores the cursor's line and column but does NOT restore where the window was scro
dap / dip
The dap and dip commands use Vim's paragraph text objects to delete an entire block of contiguous text in a single motion.
editing #editing #text-objects #normal-mode #delete #motions
]s / [s / z=
Vim has a built-in spell checker that highlights misspelled words and provides correction suggestions — all without plugins.
d/END/e<CR>
When you need to remove text up to a known marker, a plain search motion is often almost right but stops at the start of the match.
-
vim-vinegar is a lightweight plugin by Tim Pope that enhances Vim's built-in file browser (netrw) with a simpler, more intuitive workflow.
[[:alpha:]]
Vim's regex engine supports POSIX character classes inside bracket expressions, giving you locale-aware, readable alternatives to manual character ranges like [
/[\x00-\x1f]
Files sometimes contain hidden control characters that cause subtle bugs.
:diffupdate
After making edits in a vimdiff session, the diff highlighting can become out of sync with the actual content — showing incorrect change markers or missing hu
( and )
How it works Vim defines a sentence as text ending with .