Update my vim-git integration to navigate easier through it and fix missing config for gitea
This commit is contained in:
@@ -3,18 +3,22 @@ return {
|
||||
"tpope/vim-fugitive",
|
||||
lazy = false,
|
||||
keys = {
|
||||
-- replaced by telescope
|
||||
-- { "<Leader>gg", "<Cmd>Ggrep ", desc = "Git grep" },
|
||||
{ "<Leader>gb", "<Cmd>G blame<CR>", desc = "Git blame" },
|
||||
{ "<Leader>gll", "<Cmd>G log --graph --format='%h (%ar) %s :: %aN <%aE>'<CR>", desc = "Git blame" },
|
||||
{ "<Leader>glx", "<Cmd>Gclog -- %<CR>" },
|
||||
{ "<Leader>gl0", "<Cmd>0Gclog -- %<CR>" },
|
||||
{ "<Leader>gll", "<Cmd>G log --graph --format='%h (%ar) %s :: %aN <%aE>'<CR>", desc = "Git log" },
|
||||
{ "<Leader>glf", "<Cmd>G log --graph --format='%h (%ar) %s :: %aN <%aE>' %<CR>", desc = "Git log for current file" },
|
||||
{ "<Leader>glc", "<Cmd>Gclog -- %<CR>", desc = "Quicklist commits affecting the current file" },
|
||||
{ "<Leader>glh", "<Cmd>0Gclog -- %<CR>", desc = "Quicklist revisions of the current file" },
|
||||
},
|
||||
},
|
||||
-- Github integration for :GBrowse
|
||||
{ "tpope/vim-rhubarb" },
|
||||
-- Gitea integration for :GBrowse
|
||||
{ "borissov/fugitive-gitea" },
|
||||
{
|
||||
"borissov/fugitive-gitea",
|
||||
config = function()
|
||||
vim.g.fugitive_gitea_domains = { "https://gitea.nehrke.info" }
|
||||
end
|
||||
},
|
||||
-- Gitlab integration for :GBrowse
|
||||
{ "shumphrey/fugitive-gitlab.vim" },
|
||||
-- Bitbucket integration for :GBrowse
|
||||
|
||||
Reference in New Issue
Block a user