Prevent `git diff` split after GitCommit
See original GitHub issueProblems summary
Not problem. But I’d like to disable :!git -C diff --cached
split after GitCommit.
Expected
I thought it works as expected if I delete below Git diff
, however it still pops up.
Environment Information
-
fzf-preview version (package.json):0.4.27
-
OS:MacOS
-
Vim/Neovim version:v0.4.4
Provide a minimal init.vim
call plug#begin(s:plugdir)
Plug 'tpope/vim-fugitive'
Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'}
Plug 'yuki-ycino/fzf-preview.vim', { 'branch': 'release', 'do': ':UpdateRemotePlugins' }
call plug#end()
- CocCommand fzf-preview.GitStatus
- Add -> Commit
Screenshot

Dockerfile that reproduces the problem (if possible)
none
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
git-diff Documentation - Git
If a line exists in both the source and destination, exists only once, and starts with this text, this algorithm attempts to prevent...
Read more >How do I prevent 'git diff' from using a pager? - Stack Overflow
--no-pager to Git will tell it to not use a pager. Passing the option -F to less will tell it to not page...
Read more >Git Diff | Atlassian Git Tutorial
Git diff is a multi-use Git command that when executed runs a diff function on Git data sources. Learn about git diff and...
Read more >What is Git Diff Command in Git and How does it work?
Diff command is used in git to track the difference between the changes made on a file. Since Git is a version control...
Read more >Commits are snapshots, not diffs - The GitHub Blog
After we investigate this model, we'll explore how this new perspective helps us understand commands like git cherry-pick and git rebase .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks. I’ll look into it and consider modifying that policy.
Oh what a fast and great response! Thank you very much! I love this plugin more and more!
@yuki-ycino