how to move tab by mouse

24 views
Skip to first unread message

rexdf

unread,
Jul 3, 2015, 5:05:00 AM7/3/15
to vim...@googlegroups.com
We can use :tabm buffer_Number to move tabs. How to use mouse to move it?

Can I custom tab menu?

Can autocomplete list selection support mouse?

Ben Fritz

unread,
Jul 6, 2015, 10:58:01 AM7/6/15
to vim...@googlegroups.com, weiyo...@gmail.com
Try keeping your posts to one question, you'll get more/better responses.

On Friday, July 3, 2015 at 4:05:00 AM UTC-5, rexdf wrote:
> We can use :tabm buffer_Number to move tabs. How to use mouse to move it?
>

You can set guioptions-=e to use the textual tab line instead of the GUI tab bar. Then dragging with the mouse works as you'd expect.

If you are on Windows or use a GTK build of Vim on Linux, and are comfortable compiling Vim from source, there is a patch available: https://groups.google.com/forum/#!msg/vim_dev/LnZVZYls1yk/fj_Gz0vhnrsJ

I don't think it has been included in mainline Vim yet.

> Can I custom tab menu?
>

If you're asking about the text shown on a tab, then see the 'tabline' and 'guitablabel' options. If you mean something else, try posting a new question.

> Can autocomplete list selection support mouse?

Beats me. There may be an option or mapping that can make it work but I don't know of any. Why do you want to use the mouse for completion? That seems much slower than even using the arrow keys. You might try a new thread, especially since this has nothing to do with moving tabs with the mouse.

Reply all
Reply to author
Forward
0 new messages