How do I quickly navigate quickfix entries, buffers, and toggle options with bracket keys?
]q and [q
The vim-unimpaired plugin by Tim Pope provides pairs of bracket mappings for common navigation and toggling tasks.
]q and [q
The vim-unimpaired plugin by Tim Pope provides pairs of bracket mappings for common navigation and toggling tasks.
<C-a> / <C-x> (vim-speeddating)
vim-speeddating (by Tim Pope) extends Vim's built-in and increment/decrement operators to understand dates, times, roman numerals, and other ordered sequences.
:Rename {newname}
vim-eunuch (by Tim Pope) adds Unix shell operations as first-class Vim commands.
-
vim-vinegar is a lightweight plugin by Tim Pope that enhances Vim's built-in file browser (netrw) with a simpler, more intuitive workflow.
:ALEFix
ALE (Asynchronous Lint Engine) is a popular Vim plugin that runs linters and formatters asynchronously in the background, showing errors and warnings in the gut
cr
The vim-abolish plugin (by tpope) provides a cr (coerce) operator that converts the word under the cursor between naming conventions with a single keystroke pai
cs'"
The vim-surround plugin (by Tim Pope) adds three powerful operators for working with surrounding delimiters — quotes, brackets, parentheses, and HTML tags.
:Explore
Netrw is Vim's built-in file explorer plugin that comes with every Vim installation.
:Vexplore
Vim ships with netrw, a built-in file explorer that requires no plugins.
require('nvim-autopairs').setup()
nvim-autopairs automatically inserts matching closing brackets, quotes, and tags as you type.
require('oil').setup()
Oil.
:TSInstall python javascript
nvim-treesitter provides improved syntax highlighting, indentation, and code navigation using Tree-sitter parsers.
:PlugInstall
After adding Plug 'author/plugin' to your vimrc between call plug#begin() and call plug#end(), run :PlugInstall to install.
require('which-key').setup()
which-key.
require('lspconfig').pyright.setup{}
Use nvim-lspconfig to configure language servers.
require('gitsigns').setup()
gitsigns.
require('lazy').setup(plugins)
lazy.
:Rg pattern
Use :Rg pattern from fzf.
gcc to toggle line
Comment.
:Git or :G
vim-fugitive provides Git integration.