开发者

Need some help configuring Vim

I'm new to Vim (almost new) and have some questions.

The problem came from the following: I have NERDTree and MiniBufExplorer plugins (I like them very much!). I have mapped Ctrl-F to show up MiniBufExplorer window. So when I focus on tree window, then push Ctrl-F, find a file I want and then press Enter, the resulting file opens in tree window (which was previous one). So, I want to have a window with a specific Name/ID and tell MiniBufExplorer to always open buffers there. In most cases I don't use split windows so it would not be a problem for me to open buffers always in same window.

I have looked into manual of Vim but didn't found any reference to window's ID, so I wonder if there is a way to give an ID to windo开发者_JS百科w and then configure buffer explorer to always open buffers there.

Thanks for help in advance.


There is a switch to tell MiniBufExplorer to try to open files in a buffer that is modifiable (that is to say, not NERDTree):

let g:miniBufExplModSelTarget = 1

Prevent opening files inside NERDTree or MiniBuffExplorer

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜