Improve vim conflict resolution
This commit is contained in:
parent
79e82f8c6a
commit
a78805ebcc
2 changed files with 30 additions and 0 deletions
26
home/dot_config/nvim/lua/plugins/conflict-markers.lua
Normal file
26
home/dot_config/nvim/lua/plugins/conflict-markers.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
return {
|
||||
"akinsho/git-conflict.nvim",
|
||||
lazy = false,
|
||||
opts = {
|
||||
default_mappings = {
|
||||
ours = "<leader>ho",
|
||||
theirs = "<leader>ht",
|
||||
none = "<leader>h0",
|
||||
both = "<leader>hb",
|
||||
next = "]x",
|
||||
prev = "[x",
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>gx",
|
||||
"<cmd>GitConflictListQf<cr>",
|
||||
desc = "List Conflicts",
|
||||
},
|
||||
{
|
||||
"<leader>gr",
|
||||
"<cmd>GitConflictRefresh<cr>",
|
||||
desc = "Refresh Conflicts",
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue