GVim: open a new blank tab or open spooled files in a new tab

Is there anyway to open a new blank bookmark to open spooled files there?

Or is there a way to open the buffer files in a new tab instead of the currently visible one?

+3


source to share


3 answers


  • to open an empty buffer in a new tab: :tabnew

  • to open an existing buffer in a new tab: :tab sb[bufferId]

  • to open the file in a new tab: :tabe file

  • to open the same file in a new tab :tabnew %



+11


source


You can open a new tab for each buffer:



http://vim.wikia.com/wiki/Open_every_buffer_in_its_own_tabpage

+1


source


:tabe %

will open the same

:tabe filename

will open a new tab to the file.

I like the t plugin command

https://github.com/wincent/Command-T

then its \t

to find files in cwd and below and \b

to find buffers. Control T opens a new tab.

0


source







All Articles