summaryrefslogtreecommitdiffstats
path: root/.config/nvim/plugin/50-git.lua
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-05-29 16:21:27 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-05-29 16:21:27 +0200
commit2c790a4b7abe1473f802cc5e408a1291e6ebb8ee (patch)
tree59a654c74da65b7f0700ddc92e9f00ba29222869 /.config/nvim/plugin/50-git.lua
parentb875b7f877a08c20c6a903f57a6cb253057e6ab7 (diff)
downloaddotfiles-2c790a4b7abe1473f802cc5e408a1291e6ebb8ee.tar.gz
dotfiles-2c790a4b7abe1473f802cc5e408a1291e6ebb8ee.zip
refactor(nvim): group vim.pack.add() calls
This is to avoid getting many prompts when launching nvim and installing the packages initially.
Diffstat (limited to '.config/nvim/plugin/50-git.lua')
-rw-r--r--.config/nvim/plugin/50-git.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/.config/nvim/plugin/50-git.lua b/.config/nvim/plugin/50-git.lua
index 64e6cd0..c7177b2 100644
--- a/.config/nvim/plugin/50-git.lua
+++ b/.config/nvim/plugin/50-git.lua
@@ -2,8 +2,6 @@
-- Git-related utilities
--
-vim.pack.add({ "https://github.com/airblade/vim-gitgutter" }) -- Show git status in the gutter
-
vim.keymap.set("n", "<Leader>gt", "<Cmd>GitGutterLineHighlightsToggle<CR>", { desc = "Toggle git line highlighting" })
vim.keymap.set("n", "<Leader>gg", "<Cmd>GitGutter<CR>", { desc = "Refresh GitGutter" })
vim.keymap.set("n", "<Leader>gq", "<Cmd>GitGutterQuickFix<CR>", { desc = "Git hunks to quickfix list" })