ramccor / vcscommand

Automatically exported from code.google.com/p/vcscommand
0 stars 0 forks source link

vcscommand output buffers are listed and remain in the buffers list after closing them #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a GIT stored file and modify it
2. Run :VCSDiff (or :VCSAnnotate)
3. Run :ls and see that the output buffer is listed
4. Close the output buffer using :close (C-W C) or :quit (C-W Q)
5. Run :ls again and see that the output buffer is still listed

What is the expected output? What do you see instead?
I expect that output buffers do not get listed so that they do not mess with my 
regular buffers

What version of the product are you using? On what operating system?
vcscommand-1.99.40
vim-7.2
Ubuntu-10.04

Please provide any additional information below.
I could fix this issue by setting nobuflisted just after noswapfile is being 
set inside the function SetupScratchBuffer in vcscommand.vim file.

Original issue reported on code.google.com by caio2...@gmail.com on 24 Jun 2010 at 12:17

GoogleCodeExporter commented 9 years ago
Please mark requests for enhancement correctly.

If you do not want them listed after you hide them, use the 
VCSCommandDeleteOnHide variable.

let VCSCommandDeleteOnHide=1

If you do not want them listed at all, even before you hide them, use something 
like the following in your vimrc:

augroup VCSCommand
  au User VCSBufferCreated set nobuflisted
augroup END

Original comment by bob.hies...@gmail.com on 24 Jun 2010 at 4:42