Enable gitsigns keymaps
This commit is contained in:
parent
e7a9bf5949
commit
94354c03b0
16
init.lua
16
init.lua
|
@ -249,13 +249,13 @@ require('lazy').setup({
|
|||
{ -- Adds git related signs to the gutter, as well as utilities for managing changes
|
||||
'lewis6991/gitsigns.nvim',
|
||||
opts = {
|
||||
signs = {
|
||||
add = { text = '+' },
|
||||
change = { text = '~' },
|
||||
delete = { text = '_' },
|
||||
topdelete = { text = '‾' },
|
||||
changedelete = { text = '~' },
|
||||
},
|
||||
-- signs = {
|
||||
-- add = { text = '+' },
|
||||
-- change = { text = '~' },
|
||||
-- delete = { text = '_' },
|
||||
-- topdelete = { text = '‾' },
|
||||
-- changedelete = { text = '~' },
|
||||
-- },
|
||||
},
|
||||
},
|
||||
|
||||
|
@ -980,7 +980,7 @@ require('lazy').setup({
|
|||
require 'kickstart.plugins.lint',
|
||||
require 'kickstart.plugins.autopairs',
|
||||
require 'kickstart.plugins.neo-tree',
|
||||
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
|
||||
require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
|
||||
|
||||
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
|
||||
-- This is the easiest way to modularize your config.
|
||||
|
|
|
@ -89,10 +89,10 @@ return {
|
|||
-- Use if you want more granular movements
|
||||
-- Make it even more gradual by adding multiple queries and regex.
|
||||
goto_next = {
|
||||
[']c'] = { query = '@conditional.outer', desc = 'Next [C]onditional' },
|
||||
[']d'] = { query = '@conditional.outer', desc = 'Next [D]ecision (Conditional)' },
|
||||
},
|
||||
goto_previous = {
|
||||
['[c'] = { query = '@conditional.outer', desc = 'Previous [C]onditional]' },
|
||||
['[d'] = { query = '@conditional.outer', desc = 'Previous [D]ecision (Conditional)' },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue