diff --git a/doc/diffs.nvim.txt b/doc/diffs.nvim.txt index 391ad05..d0298b9 100644 --- a/doc/diffs.nvim.txt +++ b/doc/diffs.nvim.txt @@ -226,6 +226,9 @@ COMMANDS *diffs-commands* code language, plus diff header highlighting for `diff --git`, `---`, `+++`, and `@@` lines. + If a `diffs://` window already exists in the current tabpage, the new + diff replaces its buffer instead of creating another split. + Parameters: ~ {revision} (string, optional) Git revision to diff against. Defaults to HEAD. @@ -259,6 +262,12 @@ Example configuration: >lua vim.keymap.set('n', 'gD', '(diffs-gvdiff)') < +Diff buffer mappings: ~ + *diffs-q* + q Close the diff window. Available in all `diffs://` + buffers created by |:Gdiff|, |:Gvdiff|, |:Ghdiff|, + or the fugitive status keymaps. + ============================================================================== FUGITIVE STATUS KEYMAPS *diffs-fugitive*