diffview was doing the job for reviewing a branch before merging it, but not well enough. codediff renders diffs the way VSCode does - light line-level backgrounds with deeper character-level highlights on top of them - so what actually changed within a line is legible rather than inferred. Keymaps carry over one for one: <leader>gd opens the status explorer, <leader>gh/<leader>gH the file and branch history, and <leader>gm still prompts for a base branch and diffs rev...HEAD against it. <leader>gc is folded into codediff's own quit action alongside q, since there is no close command to map it to. Its diffing is done in C, and the library is downloaded prebuilt on first use rather than compiled, so there is no build step for vim.pack to worry about.
8 lines
330 B
Lua
8 lines
330 B
Lua
-- The colorscheme goes first so everything after it is drawn with it applied
|
|
require('config.plugins.catppuccin')
|
|
require('config.plugins.codediff')
|
|
require('config.plugins.fzf-lua')
|
|
require('config.plugins.gitsigns')
|
|
require('config.plugins.nvim-tree')
|
|
require('config.plugins.web-devicons')
|
|
require('config.plugins.which-key')
|