JessicaKMcIntosh / TagmaBufMgr

Tagma Buffer Manager for Vim
17 stars 1 forks source link

Vim exit when there's still multiple buffer open #6

Open xianxu opened 12 years ago

xianxu commented 12 years ago

I turned on let g:TagmaBufMgrLastWindow = 1 to make vim quit after TagmaBufMgr is the last window. However, when I still have multiple buffer open in a window and use :bd to close one buffer, TagmaBufMgr would exit vim.

If I remove TagmaBufMgr, :bd works as expected, e.g. just kill a buffer without touch window.

Probably some type of weird interaction among plugins. I'm using the following plugins:

command-t ctrlp easygrep go mark neocomplcache nerdcommenter vim-command-w vim-fugitive vim-markdown vim-protobuf vim-scala

LStinson commented 12 years ago

I've had issues with that feature. It does not always work right. I'll take a look and see if I can work out what the issue is.

On Mon, Aug 20, 2012 at 2:17 PM, Xian notifications@github.com wrote:

I turned on let g:TagmaBufMgrLastWindow = 1 to make vim quit after TagmaBufMgr is the last window. However, when I still have multiple buffer open in a window and use :bd to close one buffer, TagmaBufMgr would exit vim.

If I remove TagmaBufMgr, :bd works as expected, e.g. just kill a buffer without touch window.

Probably some type of weird interaction among plugins. I'm using the following plugins:

command-t ctrlp easygrep go mark neocomplcache nerdcommenter vim-command-w vim-fugitive vim-markdown vim-protobuf vim-scala

— Reply to this email directly or view it on GitHubhttps://github.com/LStinson/TagmaBufMgr/issues/6.

http://lorance.freeshell.org/ (678) 683-9149

xianxu commented 12 years ago

Thanks.

On Mon, Aug 20, 2012 at 11:19 AM, Lorance Stinson notifications@github.comwrote:

I've had issues with that feature. It does not always work right. I'll take a look and see if I can work out what the issue is.

On Mon, Aug 20, 2012 at 2:17 PM, Xian notifications@github.com wrote:

I turned on let g:TagmaBufMgrLastWindow = 1 to make vim quit after TagmaBufMgr is the last window. However, when I still have multiple buffer open in a window and use :bd to close one buffer, TagmaBufMgr would exit vim.

If I remove TagmaBufMgr, :bd works as expected, e.g. just kill a buffer without touch window.

Probably some type of weird interaction among plugins. I'm using the following plugins:

command-t ctrlp easygrep go mark neocomplcache nerdcommenter vim-command-w vim-fugitive vim-markdown vim-protobuf vim-scala

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6>.

http://lorance.freeshell.org/ (678) 683-9149

— Reply to this email directly or view it on GitHubhttps://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7878286.

LStinson commented 12 years ago

I did some looking and I'm not sure how that would be introduced. That feature is only supposed to kick in when the last window is closed, not the buffer. Something else must be closing windows or interfering with the window order. Could you please get to where you normally have this issue and save a session file using :mksession and email me the result? I'll have to look into the other plugins I don't have installed.

On Mon, Aug 20, 2012 at 4:36 PM, Xian notifications@github.com wrote:

Thanks.

On Mon, Aug 20, 2012 at 11:19 AM, Lorance Stinson notifications@github.comwrote:

I've had issues with that feature. It does not always work right. I'll take a look and see if I can work out what the issue is.

On Mon, Aug 20, 2012 at 2:17 PM, Xian notifications@github.com wrote:

I turned on let g:TagmaBufMgrLastWindow = 1 to make vim quit after TagmaBufMgr is the last window. However, when I still have multiple buffer open in a window and use :bd to close one buffer, TagmaBufMgr would exit vim.

If I remove TagmaBufMgr, :bd works as expected, e.g. just kill a buffer without touch window.

Probably some type of weird interaction among plugins. I'm using the following plugins:

command-t ctrlp easygrep go mark neocomplcache nerdcommenter vim-command-w vim-fugitive vim-markdown vim-protobuf vim-scala

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6>.

http://lorance.freeshell.org/ (678) 683-9149

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7878286>.

— Reply to this email directly or view it on GitHubhttps://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7882569.

http://lorance.freeshell.org/ (678) 683-9149

LStinson commented 12 years ago

I also just noticed several of those plugins are for MacVim only. I don't have access to a modern Mac to test those.

On Mon, Aug 20, 2012 at 4:36 PM, Xian notifications@github.com wrote:

Thanks.

On Mon, Aug 20, 2012 at 11:19 AM, Lorance Stinson notifications@github.comwrote:

I've had issues with that feature. It does not always work right. I'll take a look and see if I can work out what the issue is.

On Mon, Aug 20, 2012 at 2:17 PM, Xian notifications@github.com wrote:

I turned on let g:TagmaBufMgrLastWindow = 1 to make vim quit after TagmaBufMgr is the last window. However, when I still have multiple buffer open in a window and use :bd to close one buffer, TagmaBufMgr would exit vim.

If I remove TagmaBufMgr, :bd works as expected, e.g. just kill a buffer without touch window.

Probably some type of weird interaction among plugins. I'm using the following plugins:

command-t ctrlp easygrep go mark neocomplcache nerdcommenter vim-command-w vim-fugitive vim-markdown vim-protobuf vim-scala

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6>.

http://lorance.freeshell.org/ (678) 683-9149

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7878286>.

— Reply to this email directly or view it on GitHubhttps://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7882569.

http://lorance.freeshell.org/ (678) 683-9149

xianxu commented 12 years ago

See attached. I using MacVim, though in console mode.

On Tue, Aug 21, 2012 at 2:13 PM, Lorance Stinson notifications@github.comwrote:

I also just noticed several of those plugins are for MacVim only. I don't have access to a modern Mac to test those.

On Mon, Aug 20, 2012 at 4:36 PM, Xian notifications@github.com wrote:

Thanks.

On Mon, Aug 20, 2012 at 11:19 AM, Lorance Stinson notifications@github.comwrote:

I've had issues with that feature. It does not always work right. I'll take a look and see if I can work out what the issue is.

On Mon, Aug 20, 2012 at 2:17 PM, Xian notifications@github.com wrote:

I turned on let g:TagmaBufMgrLastWindow = 1 to make vim quit after TagmaBufMgr is the last window. However, when I still have multiple buffer open in a window and use :bd to close one buffer, TagmaBufMgr would exit vim.

If I remove TagmaBufMgr, :bd works as expected, e.g. just kill a buffer without touch window.

Probably some type of weird interaction among plugins. I'm using the following plugins:

command-t ctrlp easygrep go mark neocomplcache nerdcommenter vim-command-w vim-fugitive vim-markdown vim-protobuf vim-scala

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6>.

http://lorance.freeshell.org/ (678) 683-9149

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7878286>.

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7882569>.

http://lorance.freeshell.org/ (678) 683-9149

— Reply to this email directly or view it on GitHubhttps://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7916414.

LStinson commented 12 years ago

Drat, I forgot GitHub strips attachments. Can you send it directly to my Gmail account please? My address is my first and last name.

On Tue, Aug 21, 2012 at 8:12 PM, Xian notifications@github.com wrote:

See attached. I using MacVim, though in console mode.

On Tue, Aug 21, 2012 at 2:13 PM, Lorance Stinson notifications@github.comwrote:

I also just noticed several of those plugins are for MacVim only. I don't have access to a modern Mac to test those.

On Mon, Aug 20, 2012 at 4:36 PM, Xian notifications@github.com wrote:

Thanks.

On Mon, Aug 20, 2012 at 11:19 AM, Lorance Stinson notifications@github.comwrote:

I've had issues with that feature. It does not always work right. I'll take a look and see if I can work out what the issue is.

On Mon, Aug 20, 2012 at 2:17 PM, Xian notifications@github.com wrote:

I turned on let g:TagmaBufMgrLastWindow = 1 to make vim quit after TagmaBufMgr is the last window. However, when I still have multiple buffer open in a window and use :bd to close one buffer, TagmaBufMgr would exit vim.

If I remove TagmaBufMgr, :bd works as expected, e.g. just kill a buffer without touch window.

Probably some type of weird interaction among plugins. I'm using the following plugins:

command-t ctrlp easygrep go mark neocomplcache nerdcommenter vim-command-w vim-fugitive vim-markdown vim-protobuf vim-scala

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6>.

http://lorance.freeshell.org/ (678) 683-9149

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7878286>.

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7882569>.

http://lorance.freeshell.org/ (678) 683-9149

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7916414>.

— Reply to this email directly or view it on GitHubhttps://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7920801.

http://lorance.freeshell.org/ (678) 683-9149

xianxu commented 12 years ago

done.

On Tue, Aug 21, 2012 at 5:15 PM, Lorance Stinson notifications@github.comwrote:

Drat, I forgot GitHub strips attachments. Can you send it directly to my Gmail account please? My address is my first and last name.

On Tue, Aug 21, 2012 at 8:12 PM, Xian notifications@github.com wrote:

See attached. I using MacVim, though in console mode.

On Tue, Aug 21, 2012 at 2:13 PM, Lorance Stinson notifications@github.comwrote:

I also just noticed several of those plugins are for MacVim only. I don't have access to a modern Mac to test those.

On Mon, Aug 20, 2012 at 4:36 PM, Xian notifications@github.com wrote:

Thanks.

On Mon, Aug 20, 2012 at 11:19 AM, Lorance Stinson notifications@github.comwrote:

I've had issues with that feature. It does not always work right. I'll take a look and see if I can work out what the issue is.

On Mon, Aug 20, 2012 at 2:17 PM, Xian notifications@github.com wrote:

I turned on let g:TagmaBufMgrLastWindow = 1 to make vim quit after TagmaBufMgr is the last window. However, when I still have multiple buffer open in a window and use :bd to close one buffer, TagmaBufMgr would exit vim.

If I remove TagmaBufMgr, :bd works as expected, e.g. just kill a buffer without touch window.

Probably some type of weird interaction among plugins. I'm using the following plugins:

command-t ctrlp easygrep go mark neocomplcache nerdcommenter vim-command-w vim-fugitive vim-markdown vim-protobuf vim-scala

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6>.

http://lorance.freeshell.org/ (678) 683-9149

— Reply to this email directly or view it on GitHub<

https://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7878286>.

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7882569>.

http://lorance.freeshell.org/ (678) 683-9149

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7916414>.

— Reply to this email directly or view it on GitHub< https://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7920801>.

http://lorance.freeshell.org/ (678) 683-9149

— Reply to this email directly or view it on GitHubhttps://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-7920845.

LStinson commented 12 years ago

I have found the issue. I'll have to work on this. It is a difficult problem.

jmatraszek commented 11 years ago

Any progress? I have observed that this happens when i close active buffer (using :q or :bd), but everything is OK when I close non-active buffer with :bd NUMBER.

LStinson commented 11 years ago

I'm still trying to figure this one out. I have an idea of where to look. Sorry, I've not had the time lately, too much going on.

On Sun, Dec 2, 2012 at 4:37 PM, Jakub Matraszek notifications@github.comwrote:

Any progress? I have observed that this happens when i close active buffer (using :q or :bd), but everything is OK when I close non-active buffer with :bd NUMBER.

— Reply to this email directly or view it on GitHubhttps://github.com/LStinson/TagmaBufMgr/issues/6#issuecomment-10935640.

http://lorance.freeshell.org/ (678) 683-9149