-3

I am using vim in a terminal and the airline plugin.

When I open more than one tab, airline only shows tabs name and not buffer name anymore. Is there a way to show the name of the buffers in the current tab?

prajmus
  • 3,171
  • 3
  • 31
  • 41
carlitux
  • 1,217
  • 10
  • 14
  • 1
    What are related buffers ? – edi9999 Sep 16 '15 at 15:50
  • Sorry, I mean I have two tabs and each tab with buffers and when I switch from one tab to another I want to see the list of buffers related with that tab at top like shows when not using tabs (just buffers) – carlitux Sep 16 '15 at 18:39
  • @carlitux: According to [this issue](https://github.com/bling/vim-airline/issues/639) it seems that this feature isn't implemented yet. – statox Sep 17 '15 at 03:21

1 Answers1

1

Try vim bufferline.

Airline shows open buffers on the top bar only when you don't have any tabs. When you open another tab there are only tab names on that bar. With bufferline you can see all open buffers on the bottom bar (or at least some of them, if you have many buffers opened at once and there's not enough space on screen), regardless of the tab you are currently in.

I recommend reading about the differences between tabs and buffers, specifically, why buffers are preferred way of working with vim.

qiubix
  • 1,302
  • 13
  • 22
  • thanks I already read it... I have two proyects that needs open so I am using tabs and on each tab the file related withe the project. – carlitux Sep 17 '15 at 16:00