How do I view the git history for the current file as a navigable quickfix list using vim-fugitive?
:Gclog
Running :Gclog in vim-fugitive loads the git log for the current file into the quickfix list.
:Gclog
Running :Gclog in vim-fugitive loads the git log for the current file into the quickfix list.
: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.
:lua require('flash').jump()
flash.
: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.
:diffget //2
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
ysiwf
vim-surround's f and F surrounds let you wrap any text object inside a function call, prompting you for the function name.
:0Gclog
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
mt and mc in netrw
Netrw, Vim's built-in file browser, has a full file-management workflow driven by marks.
:g/pattern/Commentary
vim-commentary exposes Commentary as an Ex command that toggles comments on the current line, making it composable with Vim's :global command.
:Commands
fzf.
ysst
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.
gnn / grn / grm
nvim-treesitter's incremental selection module lets you grow and shrink your visual selection one syntax node at a time.
:Lazy profile
When Neovim starts slowly, finding the culprit plugin is tedious without tooling.
]c / [c (gitsigns.nvim)
gitsigns.
<C-x> / <C-v> / <C-t> (in Telescope)
When browsing results in a Telescope picker, you are not limited to opening selections in the current window.
:Oil
oil.
[<Space> and ]<Space>
vim-unimpaired (by Tim Pope) provides paired bracket mappings for dozens of common operations.
cr{s/m/c/k/u}
The vim-abolish plugin provides cr{type} coercions that instantly convert the word under the cursor to a different naming convention.
:checkhealth
Neovim ships with a built-in health framework that runs diagnostic checks for core components and installed plugins.
mf and D (in netrw)
Vim's built-in file browser netrw (opened with :Explore or :Ex) supports a full file management workflow beyond simple navigation.