From 044c0d01b84c38dbccc227e99b35457e06261ef3 Mon Sep 17 00:00:00 2001 From: Ashu Pednekar Date: Sun, 31 Aug 2025 13:13:36 +0530 Subject: [PATCH 1/2] doc: uppdate README.markdown to add lazy plugin example doc: added lazy plugin example --- README.markdown | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.markdown b/README.markdown index 3dc4e6ce65..681aea4d20 100644 --- a/README.markdown +++ b/README.markdown @@ -94,6 +94,17 @@ support: git clone https://tpope.io/vim/fugitive.git vim -u NONE -c "helptags fugitive/doc" -c q +Here's an example setup for `lazy` +```lua +return { + "tpope/vim-fugitive", + cmd = { "Git", "Gdiffsplit", "Gread", "Gwrite", "Ggrep", "GMove", "GDelete", "GBrowse" }, + keys = { + { "gs", "Git", desc = "Fugitive Git status" }, + }, +} +``` + ## FAQ > What happened to the dispatch.vim backed asynchronous `:Gpush` and From 1dac2687810cec0b622dc2749afd97b702fa5251 Mon Sep 17 00:00:00 2001 From: Ashu Pednekar Date: Sun, 31 Aug 2025 13:58:34 +0530 Subject: [PATCH 2/2] Update README.markdown --- README.markdown | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 681aea4d20..87a5f0fec2 100644 --- a/README.markdown +++ b/README.markdown @@ -100,7 +100,11 @@ return { "tpope/vim-fugitive", cmd = { "Git", "Gdiffsplit", "Gread", "Gwrite", "Ggrep", "GMove", "GDelete", "GBrowse" }, keys = { - { "gs", "Git", desc = "Fugitive Git status" }, + { "g", "Git", desc = "Fugitive Git status" }, + { "gw", "Git write", desc = "Fugitive Git status" }, + { "gc", "Git commit", desc = "Fugitive Git status" }, + { "gf", "Git pull", desc = "Fugitive Git status" }, + { "gp", "Git push", desc = "Fugitive Git status" }, }, } ```