sjl / clam.vim

A lightweight Vim plugin for working with shell commands.
MIT License
151 stars 12 forks source link

:bprevious on the window crashes macvim #1

Closed ehynds closed 12 years ago

ehynds commented 12 years ago

Great plugin btw. When I :bprevious inside of the split this plugin opens, macvim crashes and the following error is left in my terminal:

Vim: Caught deadly signal SEGV
Vim: Finished.
[1]    32370 segmentation fault  /Applications/MacVim.app/Contents/MacOS/Vim ~/.vimrc

Vim 7.3.

sjl commented 12 years ago

Interesting. The autocommand to return to the previous buffer is causing the crash when :bprevious is run.

This would probably be really hard to fix the "right way", so I think I'll just make the "return to previous buffer/window on close" behavior disablable (which I think is a good idea anyway) and call it a day.

sjl commented 12 years ago

Okay, you should be able to disable the autoreturning with let g:clam_autoreturn = 0 now to prevent the crashing.