Syntastic not working with MiniBufExplorer vim plugin

530 views Asked by At

First off I'm a windows user using VIM and vundle to manage my plugins.

I have the Syntastic vim plugin (https://github.com/scrooloose/syntastic) and it works great highlighting any syntax errors for the first javascript file I open and save.

I also have the minibufexplorer plugin (https://github.com/sontek/minibufexpl.vim). Once I open a second file the MiniBufExplorer window appears allowing me to navigate between previously opened files via :b1, :b2, etc. I've noticed when this happens Syntastic stops working.

If I remove the minibufexplorer plugin then Syntastic always works. I'd really like to get both working together, does anyone have a solution for this? I would gladly use an alternative to minibufexplorer if it works with Syntastic.

2

There are 2 answers

1
Steven On BEST ANSWER

Since I'm open to alternatives I will be removing the MiniBufExplorer plugin and using the :ls vim command to view the buffer list when desired. It's not as convenient as using the MiniBufExplorer plugin but I find syntax highlighting more important and am satisfied with this workaround.

0
UlfR On

I'm using pathogen to organize my installed plugins. I have syntastic and minibufexplorer and they work well together for me.

I have done no configuration at all to any of thees plugins. But to handle bufferswitching in an easy way (also works without minibufexplorer) I use this in my .vimrc:

map § :bnext^M
map ½ :bprevious^M

Its the key just below the Esc-key. It makes it very easy to just hit the § key to cycle through all open buffers.

Here is a good place to start your configuration.