How can I change the position / order of my current tab in Vim
? For example, if I want to reposition my current tab to be the first tab?
:tabm n
Where n
is a number denoting the position (starting from zero)
I think a better solution is to move the tab to the left or right to its current position instead of figuring out the numerical value of the new position you want it at.
noremap :-tabmove
noremap :+tabmove
With the above keymaps, you'll be able to move the current tab: