Hello, fellow Vimmers;

I was curious how difficult it would be to get Vim to move tabs when
the mouse is clicked and dragged.  The example usage case would be, if
the user opens a new tab, but wants it at the far left of the tab bar,
so the user clicks on the tab, and drags the mouse to the far left,
and Vim does something similar in effect to ":tabmove 0" -- if they
let off the mouse over another tab, the current tab will either come
directly before or directly after that "target" (depending on the
direction of the move: moving left goes before, moving right goes
after).  The description sounds simple, but I have no idea how complex
the GUI or mouse-handling console code is, so it might be much more
difficult than I first think; that is why I thought I'd ask here.

Best regards,

-- 
Taylor Venable            http://real.metasyntax.net:2357/

foldr = lambda f, i, l: (len(l) == 1 and [f(l[0], i)] or
                         [f(l[0], foldr(f, i, l[1:]))])[0]

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui