diff --git a/.config/nvim/lua/plugins/fugitive.lua b/.config/nvim/lua/plugins/fugitive.lua index 81d2473..0209dc6 100644 --- a/.config/nvim/lua/plugins/fugitive.lua +++ b/.config/nvim/lua/plugins/fugitive.lua @@ -3,18 +3,22 @@ return { "tpope/vim-fugitive", lazy = false, keys = { - -- replaced by telescope - -- { "gg", "Ggrep ", desc = "Git grep" }, { "gb", "G blame", desc = "Git blame" }, - { "gll", "G log --graph --format='%h (%ar) %s :: %aN <%aE>'", desc = "Git blame" }, - { "glx", "Gclog -- %" }, - { "gl0", "0Gclog -- %" }, + { "gll", "G log --graph --format='%h (%ar) %s :: %aN <%aE>'", desc = "Git log" }, + { "glf", "G log --graph --format='%h (%ar) %s :: %aN <%aE>' %", desc = "Git log for current file" }, + { "glc", "Gclog -- %", desc = "Quicklist commits affecting the current file" }, + { "glh", "0Gclog -- %", 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