-
A buffer opened via Can I make vim-fugitive NOT do that? Let's say I view my current file at a previous commit, I open I want to keep that content around. But the moment I switch to a different buffer. That buffer becomes unlisted. There is some subtle usability here. For example, my cursor position is lost if I reopen a unlisted buffer. I have |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This will respect autocmd User FugitiveObject setlocal bufhidden= You can also force to hide regardless with Edited to use |
Beta Was this translation helpful? Give feedback.
-
I came through a similar issue where I need to keep buffers opened by Gedit, Gsplit, etc |
Beta Was this translation helpful? Give feedback.
This will respect
'hidden'
:You can also force to hide regardless with
bufhidden=hide
.Edited to use
FugitiveObject
rather than the more narrowly targetedFugitiveCommit
.