python-rope / ropevim

vim mode that uses rope library to provide features like python refactorings and code-assists
GNU General Public License v2.0
245 stars 34 forks source link

After using autocompletion, close the doc preview buffer #7

Closed mcepl closed 9 years ago

mcepl commented 10 years ago

Although the preview buffer is small, one does not really need it while coding.

ropevim autocompleter is best out there! If you give me tips where is the preview magic going on, I can take a peek for the fix. 6a5ea365e3f74c3e9a79cbd4c928a076

mcepl commented 10 years ago

I'm not sure I understand your problem correctly. Could you please provide a screen shot?

Thanks.

mcepl commented 10 years ago

Notice the Preview buffer at the top. I suppose it's part of ropevim, maybe I'm mistaken.

mcepl commented 10 years ago

http://stackoverflow.com/questions/1522150/how-can-i-execute-a-command-when-a-buffer-is-closed-in-vim might be helpful.

mcepl commented 10 years ago

I guess we should somewhere in https://github.com/python-rope/ropevim/blob/master/plugin/ropevim.vim#L20 close all scratch windows.

mcepl commented 9 years ago

See #28.