Enhanced buftabs Vim Plugin

After a couple of days using my bufpos vim plugin together with buftabs, I realized I didn’t need the buffer numbers in the status line (I can always get them with :ls), but their position number would have been very useful.

So here is my modified version with these three changes:

  • the tab numbers indicate the the number you have press to get there instead of the buffer number
  • improved autocmd settings to better synchronize the ! modified flag
  • different filename shortening mode, now it is displayed with a path relative to the current or home directory (don’t set g:buftabs_only_basename to get that)

I have contacted the buftabs author and the last two will be in the next buftabs release too.

Comments