Delete obselete keymaps
This commit is contained in:
parent
56409a7f8e
commit
fd80eaf644
@ -1,23 +1,4 @@
|
|||||||
require('gitsigns').setup {
|
require('gitsigns').setup {
|
||||||
keymaps = {
|
|
||||||
-- Default keymap options
|
|
||||||
buffer = true,
|
|
||||||
noremap = true,
|
|
||||||
["n ]c"] = {
|
|
||||||
expr = true,
|
|
||||||
"&diff ? ']c' : '<cmd>lua require\"gitsigns\".next_hunk()<CR>'"
|
|
||||||
},
|
|
||||||
["n [c"] = {
|
|
||||||
expr = true,
|
|
||||||
"&diff ? '[c' : '<cmd>lua require\"gitsigns\".prev_hunk()<CR>'"
|
|
||||||
},
|
|
||||||
["n <leader>hs"] = '<cmd>lua require"gitsigns".stage_hunk()<CR>',
|
|
||||||
["n <leader>hu"] = '<cmd>lua require"gitsigns".undo_stage_hunk()<CR>',
|
|
||||||
["n <leader>hr"] = '<cmd>lua require"gitsigns".reset_hunk()<CR>',
|
|
||||||
["n <leader>hp"] = '<cmd>lua require"gitsigns".preview_hunk()<CR>',
|
|
||||||
["n <leader>hb"] = '<cmd>lua require"gitsigns".blame_line()<CR>'
|
|
||||||
},
|
|
||||||
|
|
||||||
-- signs
|
-- signs
|
||||||
status_formatter = nil, -- Use default
|
status_formatter = nil, -- Use default
|
||||||
numhl = false,
|
numhl = false,
|
||||||
|
Loading…
Reference in New Issue
Block a user