How do I quickly comment and uncomment code in Vim with a plugin?
The vim-commentary plugin by Tim Pope provides a minimal yet powerful way to toggle comments in any programming language.
category:
plugins
tags:
#plugins
#commentary
#commenting
#editing
#normal-mode
How do I query databases directly from Vim without leaving my editor?
The vim-dadbod plugin by Tim Pope turns Vim into a powerful database client.
category:
plugins
tags:
#plugins
#dadbod
#database
#sql
#workflow
How do I run builds and tests asynchronously without blocking Vim?
The vim-dispatch plugin by Tim Pope provides asynchronous build and command execution so you can run compilers, test suites, and other long-running commands wit
category:
plugins
tags:
#plugins
#dispatch
#async
#build
#testing
#workflow
How do I jump to any visible word or character on screen instantly in Vim?
The vim-easymotion plugin replaces Vim's default motion commands with a visual overlay system that lets you jump to any visible position on screen in just two o
category:
plugins
tags:
#plugins
#easymotion
#navigation
#motions
#jumping
How do I rapidly generate HTML boilerplate using abbreviations in Vim?
The emmet-vim plugin brings the full power of Emmet (formerly Zen Coding) to Vim, letting you type a short CSS-like abbreviation and expand it into a complete H
category:
plugins
tags:
#plugins
#emmet
#html
#css
#editing
#insert-mode
How do I swap two text regions without using a temporary register in Vim?
The vim-exchange plugin by Tom McDonald provides the cx operator to swap two arbitrary text regions.
category:
plugins
tags:
#plugins
#exchange
#editing
#text-objects
#refactoring
How do I open the current file on GitHub directly from Vim?
The vim-fugitive plugin combined with vim-rhubarb (for GitHub support) provides the :GBrowse command, which opens the current file on your repository's web host
category:
plugins
tags:
#plugins
#fugitive
#git
#github
#workflow
How do I view a side-by-side Git diff of staged changes inside Vim?
The vim-fugitive plugin provides :Gdiffsplit (and its vertical variant :Gvdiffsplit) to open a side-by-side diff view comparing the working tree version of a fi
category:
plugins
tags:
#plugins
#fugitive
#git
#diff
#staging
How do I run an interactive git blame inside Vim?
The vim-fugitive plugin by Tim Pope provides a powerful interactive :Git blame that goes far beyond the basic command-line git blame.
category:
plugins
tags:
#plugins
#fugitive
#git
#blame
#history
How do I stage and unstage Git files without leaving Vim?
The vim-fugitive plugin by Tim Pope provides an interactive Git status window that lets you stage, unstage, diff, and commit files entirely from within Vim.
category:
plugins
tags:
#plugins
#fugitive
#git
#staging
#workflow
How do I view a file as it existed at a previous Git commit in Vim?
The vim-fugitive plugin lets you open any version of any file from your Git history directly in a Vim buffer using the :Gedit command.
category:
plugins
tags:
#plugins
#fugitive
#git
#history
#diff
How do I fuzzy find and open files instantly in Vim?
The fzf.
category:
plugins
tags:
#plugins
#fzf
#files
#navigation
#fuzzy-finder
How do I fuzzy search inside file contents across a project in Vim?
The fzf.
category:
plugins
tags:
#plugins
#fzf
#ripgrep
#search
#workflow
#quickfix
How do I fuzzy-search and switch between open buffers in Vim?
The fzf.
category:
plugins
tags:
#plugins
#fzf
#buffers
#navigation
#workflow
How do I jump between changed lines in a Git-tracked file in Vim?
The vim-gitgutter plugin shows Git diff markers in the sign column and provides ]c and [c mappings to jump between changed hunks — groups of added, modified,
category:
plugins
tags:
#plugins
#gitgutter
#git
#navigation
#diff
How do I quickly convert between snake_case, camelCase, and other naming conventions in Vim?
The vim-abolish plugin by Tim Pope provides instant case coercion commands that convert the word under your cursor between common naming conventions.
category:
plugins
tags:
#plugins
#abolish
#editing
#refactoring
#naming
How do I search and replace a word while preserving its case variants in Vim?
The vim-abolish plugin by Tim Pope provides the :Subvert command (abbreviated :S), which performs search-and-replace operations that automatically handle every
category:
plugins
tags:
#plugins
#abolish
#search
#substitute
#refactoring
How do I get a visual tab-completion menu for Vim commands and filenames?
The wildmenu option enhances Vim's command-line completion by showing a horizontal menu of matches above the command line when you press .
category:
config
tags:
#config
#command-line
#completion
#productivity
#vimrc
How do I yank text into a specific named register for later use?
Vim has 26 named registers (a-z) that act as independent clipboards.
category:
registers
tags:
#registers
#editing
#normal-mode
#yank
#productivity
How do I temporarily zoom a split window to full screen and then restore the layout?
<C-w>| and <C-w>_ / <C-w>=
Vim lets you temporarily maximize a split window to full width or full height, and then restore all windows to equal sizes with =.
category:
buffers-windows
tags:
#windows
#splits
#navigation
#productivity
#layout