How do I enable LSP inlay hints to show types and parameter names inline in Neovim?
:lua vim.lsp.inlay_hint.enable()
Neovim 0.
category:
plugins
tags:
#lsp
#neovim
#inlay-hints
#plugins
#completion
How do I trigger a code action at the cursor position using Neovim's built-in LSP?
Since Neovim 0.
category:
plugins
tags:
#lsp
#neovim
#code-action
#editing
#plugins
How do I enable the built-in matchit plugin to make % jump between matching HTML tags and keywords?
Vim's % command jumps between matching brackets by default.
category:
plugins
tags:
#navigation
#plugins
#text-objects
#matching
#normal-mode
How do I change existing surrounding quotes to parentheses with vim-surround?
The cs operator in vim-surround (change surrounding) swaps one pair of delimiters for another without touching the content inside.
category:
plugins
tags:
#plugins
#editing
#surround
#text-objects
How do I jump to the next LSP diagnostic error or warning in Neovim?
vim.diagnostic.goto_next()
Neovim's built-in vim.
category:
plugins
tags:
#plugins
#lsp
#diagnostics
#neovim
#navigation
How do I format the current buffer using the language server protocol in Neovim?
Neovim's built-in LSP client exposes vim.
category:
plugins
tags:
#plugins
#lsp
#formatting
#neovim
#editing
How do I diff the current file against a specific git commit using vim-fugitive?
vim-fugitive's :Gdiffsplit opens a vertical split showing the current file diff against any git revision — not just HEAD.
category:
plugins
tags:
#plugins
#diff
#git
#buffers-windows
How do I reopen the last Telescope picker with my previous search and results still there?
The :Telescope resume command reopens the most recent Telescope picker, restoring the exact query string, filtered results, and cursor position from the last ti
category:
plugins
tags:
#telescope
#search
#navigation
#plugins
#fuzzy-find
How do I move the current line or a visual selection up or down without cutting and pasting?
The [e and ]e mappings from Tim Pope's vim-unimpaired plugin exchange the current line (or a visual selection of lines) with the line above or below.
category:
plugins
tags:
#plugins
#editing
#motions
How do I change one type of surrounding delimiter to another with vim-surround?
The cs command from the vim-surround plugin lets you swap one type of surrounding delimiter for another in a single motion.
category:
plugins
tags:
#plugins
#editing
#text-objects
#surround
How do I view the git history for the current file as a navigable quickfix list using vim-fugitive?
Running :Gclog in vim-fugitive loads the git log for the current file into the quickfix list.
category:
plugins
tags:
#plugins
#git
#buffers
#quickfix
How do I enable LSP and treesitter-powered code folding in Neovim with nvim-ufo?
:lua require('ufo').openAllFolds()
nvim-ufo is a Neovim plugin that replaces the built-in fold system with one powered by LSP (textDocument/foldingRange) or treesitter.
category:
plugins
tags:
#folding
#lsp
#config
#plugins
How do I jump anywhere on screen with labeled targets using flash.nvim?
:lua require('flash').jump()
flash.
category:
plugins
tags:
#navigation
#motions
#search
#plugins
How do I use Harpoon to bookmark project files and jump between them instantly?
:lua require('harpoon.mark').add_file()
Harpoon by ThePrimeagen is a Neovim plugin that maintains a small, numbered list of the files you're actively working on.
category:
plugins
tags:
#navigation
#buffers
#marks
#plugins
How do I resolve a 3-way merge conflict in vim-fugitive by picking a specific version?
When resolving Git merge conflicts with vim-fugitive, running :Gvdiffsplit! opens a 3-way split: your current branch (left), the working file with conflict mark
category:
plugins
tags:
#plugins
#git
#fugitive
#diff
#merge
How do I wrap a word in a function call using vim-surround?
vim-surround's f and F surrounds let you wrap any text object inside a function call, prompting you for the function name.
category:
plugins
tags:
#plugins
#vim-surround
#editing
#text-objects
How do I view the git commit history for the current file in vim-fugitive?
vim-fugitive's :Gclog command loads the git log into the quickfix list, but when prefixed with the range 0 it restricts the history to only the commits that tou
category:
plugins
tags:
#plugins
#git
#fugitive
#quickfix
#buffers
How do I comment out all lines matching a pattern at once using vim-commentary?
vim-commentary exposes Commentary as an Ex command that toggles comments on the current line, making it composable with Vim's :global command.
category:
plugins
tags:
#plugins
#vim-commentary
#ex-commands
#editing
How do I fuzzy-search and run any available Vim command using fzf.vim?
fzf.
category:
plugins
tags:
#plugins
#fzf
#command-line
#fuzzy-search
How do I wrap text with a custom HTML tag using vim-surround?
vim-surround's ysst sequence lets you wrap a text object with an arbitrary HTML or XML tag and prompts you to type the tag name.
category:
plugins
tags:
#plugins
#vim-surround
#html
#text-objects