uu
This commit is contained in:
parent
a8e2043b54
commit
74d86327e5
1 changed files with 7 additions and 1 deletions
8
init.lua
8
init.lua
|
|
@ -169,7 +169,12 @@ require("lazy").setup({
|
|||
'nvim-tree/nvim-web-devicons',
|
||||
},
|
||||
init = function() vim.g.barbar_auto_setup = false end,
|
||||
opts = {},
|
||||
opts = {
|
||||
icons = {
|
||||
pinned = { button = '', filename = true },
|
||||
}
|
||||
|
||||
},
|
||||
version = '^1.0.0',
|
||||
},
|
||||
{
|
||||
|
|
@ -214,6 +219,7 @@ require("lazy").setup({
|
|||
|
||||
-- Actions
|
||||
map('n', '<leader>hs', gitsigns.stage_hunk)
|
||||
|
||||
map('n', '<leader>hr', gitsigns.reset_hunk)
|
||||
map('v', '<leader>hs',
|
||||
function() gitsigns.stage_hunk { vim.fn.line('.'), vim.fn.line('v') } end)
|
||||
|
|
|
|||
Loading…
Reference in a new issue