Skip to content

Commit

Permalink
Map <Leader>g. for fugitive blame and diff
Browse files Browse the repository at this point in the history
  • Loading branch information
dietrichm committed Dec 4, 2024
1 parent 3c702f8 commit d179418
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nvim/.config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ vim.api.nvim_create_autocmd('FileType', {
end,
})

-- Configure fugitive.
map('n', '<Leader>gb', [[:Git blame<CR>]])
map('n', '<Leader>gd', [[:Gdiff<CR>]])

-- Configure vim-test.
vim.g['test#strategy'] = 'neovim'
vim.g['test#neovim#term_position'] = 'botright 15'
Expand Down

0 comments on commit d179418

Please sign in to comment.