How do I quickly jump to any location with two characters?
s{char}{char} (vim-sneak)
vim-sneak provides a motion that lets you jump to any location specified by two characters.
s{char}{char} (vim-sneak)
vim-sneak provides a motion that lets you jump to any location specified by two characters.
vim-startify plugin
vim-startify provides a configurable start screen when you open Vim without a file.
vim-which-key plugin
vim-which-key displays a popup showing available key bindings as you type a prefix key.
:UndotreeToggle
The undotree plugin provides a visual tree representation of Vim's undo history.
Plug 'vim-airline/vim-airline'
vim-airline provides a beautiful, feature-rich status line that shows file info, git branch, diagnostics, and more with minimal configuration.
<C-n> to select (vim-visual-multi)
vim-visual-multi provides VS Code-style multiple cursor support for Vim.
auto-pairs plugin
auto-pairs automatically inserts closing brackets, parentheses, and quotes when you type the opening one.
[q, ]q, [b, ]b (vim-unimpaired)
vim-unimpaired by Tim Pope provides consistent bracket mappings for navigating paired items like quickfix entries, buffers, and more.
Create plugin/myplugin.vim
A basic Vim plugin is just a .
cs"' (change), ds" (delete), ys iw" (add)
The vim-surround plugin by Tim Pope adds commands for working with surrounding characters like quotes, brackets, and tags.
:TestNearest (vim-test)
vim-test provides commands to run tests from within Vim.
Plug 'sheerun/vim-polyglot'
vim-polyglot is a collection of language packs for Vim.
Plug 'tpope/vim-repeat'
vim-repeat by Tim Pope extends the .
<leader><leader>w
vim-easymotion lets you jump to any visible position by highlighting targets with unique letters.
:Git command (e.g., :Git status)
vim-fugitive by Tim Pope is a comprehensive Git wrapper for Vim.
vim-gitgutter plugin
vim-gitgutter shows git diff markers in the sign column next to line numbers.
:%S/old/new/g (vim-abolish)
vim-abolish by Tim Pope provides :%S (Subvert), a substitute command that preserves the case pattern of the original text.
gcc (toggle line), gc{motion} (toggle range)
vim-commentary by Tim Pope provides a simple way to toggle comments.
:Make (vim-dispatch)
vim-dispatch by Tim Pope provides asynchronous build commands in Vim.
:Telescope find_files
Telescope is a highly extensible fuzzy finder for Neovim.