Skip to content

Commit

Permalink
config blaming
Browse files Browse the repository at this point in the history
  • Loading branch information
therufa committed May 3, 2023
1 parent 6e7ffba commit aaf0676
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 10 additions & 0 deletions lua/custom/plugins/gitblame.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@

vim.cmd('let g:gitblame_enabled = 0')

-- git blame
vim.keymap.set('n', '<leader>Gb', function()
vim.cmd(':GitBlameEnable')
end, { desc = '[G]it [b]lame enable' })
vim.keymap.set('n', '<leader>Gd', function()
vim.cmd(':GitBlameDisable')
end, { desc = '[G]it blame [D]isable' })

return {
{
'f-person/git-blame.nvim',
Expand Down
1 change: 0 additions & 1 deletion lua/custom/plugins/treesj.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@


return {
'Wansmer/treesj',
keys = {
Expand Down

0 comments on commit aaf0676

Please sign in to comment.