3

I was wondering if is there any way to change the place of the tabs. Anyone can help me about this? I would like to have vim as my favourite ide..:)

5 Answers 5

5

Check out help :tabm[ove]. Essentially you could do:

:tabm +N to move current tab N places to the right. Or :tabm -N to move N places left.

2

Vim is not an IDE, it's an editor. You won't turn it into an IDE, no matter how hard you try.

Anyway, read :h tabmove:

:tabmove 0

moves the current tab to the first position

:tabmove 2

moves the current tab to after the 2 tab

:tabmove

moves the current tab to the last position

0

What do you exactly mean by "place of the tabs"? The other answers have already shown how to move individual tab pages around.

If you're inquiring about where Vim places the tab labels, that cannot be changed; they will always be between the GUI menu and the windows. In GVIM, you can only "downgrade" the tab appearance from graphical to textual via

:set guioptions-=e
0

When using the tabline (with guioptions-=e), you can drag and drop tabs with your mouse.

There is a patch pending (but not applied yet as of Vim 7.4.1054) to expand this to the GUI tabs as well:

https://groups.google.com/forum/#!msg/vim_dev/LnZVZYls1yk/fj_Gz0vhnrsJ

0

Split Manipulation

  • Ctrl+W, R (Swap top/bottom or left/right split)
  • Ctrl+W, T (Break out current window into a new tabview)
  • Ctrl+W, o (Close every window in the current tabview but the current one)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.