-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
弱问buffer跳转时的颜色怎么配? #20
Comments
你只是在 Minibuffer 窗口中移动光标,是没有颜色区分的( fholgado/issues/23 是关于这个特性的一个 Request,只是我个人不是很急需这个特性,一直没有去实现而已)。 图示的情况是在通过 |
哈哈,原来如此. 图示看来是隐藏魔法的效果 单独一个光标在闪屏幕远了的情况不容易看见. 我看看能不能提个pull request |
Hi thanks for your dedicated work. I tried to integrate it and had some problem with buffer highlighting and find this issue is the most relevant. I have no option but only put my question here. Hope someone will see and offer a help. It does not work, all buffers are displayed as white, no difference when switching. I also tried in .vimrc still no effect. I cannot figure it out. Did I put in the wrong place or some other problems? Thanks in advance. |
hi, you can try this option in you .vimrc
check your plugin source, make sure you have the changes like this let me know if it still blocks you. |
Thanks. But still blocks me after making changes of what you told. |
Maybe leave it for a while, sometimes answer shows up when you don't want it. Thanks anyway. |
hi @6thfdwp
according your description, maybe you just failed to load the plugin. I can not help much due to the lacking of necessary info. But you can try to debug in your local, with simple print info in some break points. go the the plugin directory and edit the plugin/minibufexpl.vim file like this, hope it helps, good luck!
|
@athom I can give you how my environment looks like. I just follow some guide to use pathogen to manage plugins. So minibuf is put in nnoremap <D-u> :bp<cr>
inoremap <D-u> <esc>:bp<cr>
nnoremap <D-i> :bn<cr>
inoremap <D-i> <esc>:bn<cr>
nnoremap <D-y> :bw<cr>
let g:miniBufExplUseSingleClick = 1
let g:did_minibufexplorer_syntax_inits = 1
let g:miniBufExplAutoStart = 1
let g:miniBufExplDebugMode = 1
" MiniBufExpl Colors
hi MBENormal guifg=#808080 guibg=fg
hi MBESelecting guifg=#BEEF13 guibg=fg
hi MBEChanged guifg=#CD5907 guibg=fg
hi MBEVisibleNormal guifg=#5DC2D6 guibg=fg
hi MBEVisibleChanged guifg=#F1266F guibg=fg
hi MBEVisibleActiveNormal guifg=#A6DB29 guibg=fg |
:bp :bn is one of default settings, you can So I am 90% sure your problem is loading issue. Sorry I am not familiar with the pathogen, can you use other plugin via pathogen successfully? or just maybe this plugin not support pathogen? BTW, I am using Vundle for plugin management, one of the possible issue of failed to loading is I forgot to set the Vundle trigger in my .vimrc.
|
Thanks for pointing out, but other plugins (nerdtree, commenter etc) work just fine. For pathogen, I know it is an alternative for vundle. I do not fully know every details about it, just follow their document guide to set up. And I had similar commands to set pathogen trigger at the beginning of my .vimrc. I will double check it and probably seek more help from you. Thanks! |
You probably need to set 'g:did_minibufexplorer_syntax_inits = 1' so that MBE does not overwrite your settings, see 'MiniBufExplHighlighting' section in the doc. |
非常感谢你把minibuffer改得这么好用,基本上非常易用且满足绝大多需求.
然而我个人使用的时候还有点小小的纠结
我现在跳转的时候[bufferX]只会高亮最左边的中括号,期待的情况是[bufferX]都被高亮
http://screencast.com/t/LUukQ4MJ
你示例的图看起来确实我期待的结果,不知道你是怎么设置的.
![](https://camo.githubusercontent.com/14d507b68cc83026ee145a1de387ddc012fad3ef9338f7ad43d80a29798b2774/68747470733a2f2f6769746875622d63616d6f2e676c6f62616c2e73736c2e666173746c792e6e65742f333836636535393664613136303264663161373830386465646664623262643733393535383837632f3638373437343730336132663266363436633265363437323666373036323666373832653633366636643266373532663331333133383336333533303266366436323635326637333633373236353635366537333638366637343733326636643632363533313265363736393636)
The text was updated successfully, but these errors were encountered: