Skip to content

Commit c4d38f2

Browse files
committed
Change from branch A
1 parent 88482d9 commit c4d38f2

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

lua/custom/plugins/init.lua

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,31 @@
44
-- See the kickstart.nvim README for more information
55
return {
66
{
7+
'akinsho/git-conflict.nvim',
8+
version = '*',
9+
config = function()
10+
require('git-conflict').setup()
11+
12+
-- Optional: Set up keymaps for common conflict resolution commands
13+
vim.keymap.set('n', '<leader>co', '<cmd>GitConflictChooseOurs<CR>', { desc = '[GIT] Choose Ours' })
14+
vim.keymap.set('n', '<leader>ct', '<cmd>GitConflictChooseTheirs<CR>', { desc = '[GIT] Choose Theirs' })
15+
vim.keymap.set('n', '<leader>cb', '<cmd>GitConflictChooseBoth<CR>', { desc = '[GIT] Choose Both' })
16+
vim.keymap.set('n', '<leader>c0', '<cmd>GitConflictChooseNone<CR>', { desc = '[GIT] Choose None' })
17+
vim.keymap.set('n', ']x', '<cmd>GitConflictNextConflict<CR>', { desc = '[GIT] Next Conflict' })
18+
vim.keymap.set('n', '[x', '<cmd>GitConflictPrevConflict<CR>', { desc = '[GIT] Prev Conflict' })
19+
end,
20+
},
21+
{
22+
723
'sphamba/smear-cursor.nvim',
824
event = 'VeryLazy',
925
config = function()
1026
require('smear_cursor').setup {
1127
cursor_color = '#ff8800',
1228
stiffness = 1,
1329
trailing_stiffness = 0.35,
14-
trailing_exponent = 15,
15-
hide_target_hack = false,
30+
trailing_exponent = 25,
31+
hide_target_hack = true,
1632
gamma = 1,
1733
}
1834
end,

0 commit comments

Comments
 (0)