summaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/dracula.lua2
-rw-r--r--lua/plugins/gitsigns.lua4
2 files changed, 4 insertions, 2 deletions
diff --git a/lua/plugins/dracula.lua b/lua/plugins/dracula.lua
index 65f032e..b58ba34 100644
--- a/lua/plugins/dracula.lua
+++ b/lua/plugins/dracula.lua
@@ -1,6 +1,8 @@
return {
'Mofiqul/dracula.nvim',
+ lazy = false,
priority = 1000,
+ opts = {},
config = function()
vim.cmd.colorscheme 'dracula'
end,
diff --git a/lua/plugins/gitsigns.lua b/lua/plugins/gitsigns.lua
index 7745cf3..086fb91 100644
--- a/lua/plugins/gitsigns.lua
+++ b/lua/plugins/gitsigns.lua
@@ -10,8 +10,8 @@ return {
},
on_attach = function(bufnr)
local gitsigns = require('gitsigns')
- vim.keymap.set('n', '<leader>gp', gitsigns.prev_hunk, { buffer = bufnr, desc = '[G]o to [P]revious Hunk' })
- vim.keymap.set('n', '<leader>gn', gitsigns.next_hunk, { buffer = bufnr, desc = '[G]o to [N]ext Hunk' })
+ vim.keymap.set('n', '[c', gitsigns.prev_hunk, { buffer = bufnr, desc = 'Go to Previous Hunk' })
+ vim.keymap.set('n', ']c', gitsigns.next_hunk, { buffer = bufnr, desc = 'Go to Next Hunk' })
vim.keymap.set('n', '<leader>ph', gitsigns.preview_hunk, { buffer = bufnr, desc = '[P]review [H]unk' })
end,
},