How do I add custom filetype detection for a new file extension without modifying Vim's built-in filetypes?
Vim automatically sources every file in ftdetect/ directories on the runtimepath when filetype detection runs.
category:
plugins
tags:
#config
#ex-commands
How do I toggle common Vim options like spell, wrap, and number with single keystrokes using vim-unimpaired?
The vim-unimpaired plugin adds a set of paired bracket mappings, including a powerful family of option toggles.
category:
plugins
tags:
#config
#plugins
#editing
How do I check which language servers are attached to the current buffer and debug my LSP setup in Neovim?
The :LspInfo command, provided by the nvim-lspconfig plugin, opens a diagnostic floating window showing every active LSP client and its configuration for the cu
category:
plugins
tags:
#plugins
#lsp
#neovim
#debugging
#lspconfig
How do I search for the word under my cursor across all project files using Telescope?
require('telescope.builtin').grep_string()
Telescope's grepstring() function performs a project-wide search for the exact word currently under the cursor, displaying live-previewed results in an interact
category:
plugins
tags:
#plugins
#search
#navigation
#telescope
How do I jump only to error-level diagnostics and skip warnings and hints in Neovim?
:lua vim.diagnostic.goto_next({severity = vim.diagnostic.severity.ERROR})
Neovim's built-in diagnostic system (vim.
category:
plugins
tags:
#navigation
#lsp
#diagnostics
#neovim
#normal-mode
How do I use Neovim's built-in default LSP keymaps for rename, references, and code actions?
Neovim 0.
category:
plugins
tags:
#navigation
#completion
How do I view all symbols in the current file using Neovim's built-in LSP?
Since Neovim 0.
category:
plugins
tags:
#lsp
#neovim
#navigation
#symbols
#plugins
How do I disable or customize virtual text diagnostic messages in Neovim's built-in LSP?
:lua vim.diagnostic.config({virtual_text = false})
Neovim's built-in diagnostic system (vim.
category:
plugins
tags:
#lsp
#neovim
#diagnostics
#plugins
#config
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 rename a symbol under the cursor using Neovim's built-in LSP without any plugin configuration?
Since Neovim 0.
category:
plugins
tags:
#lsp
#neovim
#navigation
#rename
#code-action
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 open a file in Netrw in a vertical split instead of the current window?
When browsing files in Vim's built-in file manager (Netrw), pressing v on any file opens it in a vertical split to the right.
category:
plugins
tags:
#buffers-windows
#navigation
#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