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",
|
"tpope/vim-fugitive",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
keys = {
|
keys = {
|
||||||
-- replaced by telescope
|
|
||||||
-- { "<Leader>gg", "<Cmd>Ggrep ", desc = "Git grep" },
|
|
||||||
{ "<Leader>gb", "<Cmd>G blame<CR>", desc = "Git blame" },
|
{ "<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>gll", "<Cmd>G log --graph --format='%h (%ar) %s :: %aN <%aE>'<CR>", desc = "Git log" },
|
||||||
{ "<Leader>glx", "<Cmd>Gclog -- %<CR>" },
|
{ "<Leader>glf", "<Cmd>G log --graph --format='%h (%ar) %s :: %aN <%aE>' %<CR>", desc = "Git log for current file" },
|
||||||
{ "<Leader>gl0", "<Cmd>0Gclog -- %<CR>" },
|
{ "<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
|
-- Github integration for :GBrowse
|
||||||
{ "tpope/vim-rhubarb" },
|
{ "tpope/vim-rhubarb" },
|
||||||
-- Gitea integration for :GBrowse
|
-- 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
|
-- Gitlab integration for :GBrowse
|
||||||
{ "shumphrey/fugitive-gitlab.vim" },
|
{ "shumphrey/fugitive-gitlab.vim" },
|
||||||
-- Bitbucket integration for :GBrowse
|
-- Bitbucket integration for :GBrowse
|
||||||
|
|||||||
Reference in New Issue
Block a user