Content License

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.

 
Home Content Buffer management nirvana: settings for tabbar

Buffer management nirvana: settings for tabbar

Posted by tibi at Oct 01, 2010 01:59 PM |

I've rebuilt my .vim folder to take advantage of splitting everything in pathogen bundles, so I took the opportunity to comb through the plugins that I use. For a week I missed the tabbar plugin, which I've replaced with buftabs. Not the same thing. Today I replaced it back with tabbar, and these are the settings that I came up with:

let g:Tb_SplitBelow=1       " Put the tabbar at the bottom
let g:Tb_MaxSize=0          " I want it to automatically resize if I have buffers that fill more then one line
let g:Tb_MoreThanOne=0      " I want the tabbar to be always visible
let g:Tb_ModSelTarget = 1

These are the best settings for me. All I need left to do is to change the colors of the tabs, which is a long standing task that I should do. Based on the tabbar documentation, this is what I need to change:

"      Tb_Normal .............  for buffers that have NOT CHANGED and are NOT VISIBLE.
"      Tb_Changed ............. for buffers that HAVE CHANGED and are NOT VISIBLE
"      Tb_VisibleNormal ....... buffers that have NOT CHANGED and are VISIBLE
"      Tb_VisibleChanged ...... buffers that have CHANGED and are VISIBLE
Document Actions