Quantcast
Channel: Using Vim's tabs like buffers - Stack Overflow
Browsing all 12 articles
Browse latest View live

Answer by icc97 for Using Vim's tabs like buffers

This is an answer for those not familiar with Vim and coming from other text editors (in my case Sublime Text). I read through all these answers and it still wasn't clear. If you read through them...

View Article



Answer by thien.vuong for Using Vim's tabs like buffers

If you want buffers to work like tabs, check out the tabline plugin. That uses a single window, and adds a line on the top to simulate the tabs (just showing the list of buffers). This came out a long...

View Article

Answer by Zenexer for Using Vim's tabs like buffers

Contrary to some of the other answers here, I say that you can use tabs however you want. vim was designed to be versatile and customizable, rather than forcing you to work according to predefined...

View Article

Answer by crenate for Using Vim's tabs like buffers

Vim :help window explains the confusion "tabs vs buffers" pretty well. A buffer is the in-memory text of a file. A window is a viewport on a buffer. A tab page is a collection of windows. Opening...

View Article

Answer by robince for Using Vim's tabs like buffers

Bit late to the party here but surprised I didn't see the following in this list: :tab sball - this opens a new tab for each open buffer. :help switchbuf - this controls buffer switching behaviour, try...

View Article


Answer by jkramer for Using Vim's tabs like buffers

I use buffers like tabs, using the BufExplorer plugin and a few macros: " CTRL+b opens the buffer list map <C-b> <esc>:BufExplorer<cr> " gz in command mode closes the current buffer...

View Article

Answer by Zathrus for Using Vim's tabs like buffers

Stop, stop, stop. This is not how Vim's tabs are designed to be used. In fact, they're misnamed. A better name would be "viewport" or "layout", because that's what a tab is—it's a different layout of...

View Article

Answer by Dominic Dos Santos for Using Vim's tabs like buffers

I ran into the same problem. I wanted tabs to work like buffers and I never quite manage to get them to. The solution that I finally settled on was to make buffers behave like tabs! Check out the...

View Article


Answer by Lucas Oman for Using Vim's tabs like buffers

You can map commands that normally manipulate buffers to manipulate tabs, as I've done with gf in my .vimrc: map gf :tabe <cfile><CR> I'm sure you can do the same with [^ I don't think vim...

View Article


Answer by Mike G. for Using Vim's tabs like buffers

Looking at :help tabs it doesn't look like vim wants to work the way you do... Buffers are shared across tabs, so it doesn't seem possible to lock a given buffer to appear only on a certain tab. It's a...

View Article

Using Vim's tabs like buffers

I have looked at the ability to use tabs in Vim (with :tabe, :tabnew, etc.) as a replacement for my current practice of having many files open in the same window in hidden buffers. I would like every...

View Article

Answer by Good Pen for Using Vim's tabs like buffers

relevant:Vim: can global marks switch tabs instead of the file in the current tab?maybe useful to solve a little part of OP's problem: nno \ <Cmd>call To_global_mark()<cr> fun!...

View Article
Browsing all 12 articles
Browse latest View live




Latest Images