Loading ...
Sorry, an error occurred while loading the content.

middle click close tab

Expand Messages
  • rameo
    Is it possible in Vim to close a tab with a middle click? -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the
    Message 1 of 4 , Feb 27, 2010
    • 0 Attachment
      Is it possible in Vim to close a tab with a middle click?

      --
      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    • Christian Brabandt
      Hi rameo! ... Try ... (untested) regards, Christian -- ... -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the
      Message 2 of 4 , Feb 27, 2010
      • 0 Attachment
        Hi rameo!

        On Sa, 27 Feb 2010, rameo wrote:

        > Is it possible in Vim to close a tab with a middle click?

        Try
        :map <MiddleMouse> :tabclose<cr>

        (untested)

        regards,
        Christian
        --
        :wq

        --
        You received this message from the "vim_use" maillist.
        Do not top-post! Type your reply below the text you are replying to.
        For more information, visit http://www.vim.org/maillist.php
      • rameo
        Didn t work. :-( ... -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more
        Message 3 of 4 , Feb 27, 2010
        • 0 Attachment
          Didn't work. :-(

          >
          > Try
          > :map <MiddleMouse> :tabclose<cr>
          >

          --
          You received this message from the "vim_use" maillist.
          Do not top-post! Type your reply below the text you are replying to.
          For more information, visit http://www.vim.org/maillist.php
        • Vitor Eiji Justus Sakaguti
          ... Maybe ... Please notice that middle clicking _anywhere_ will close the tab. -- You received this message from the vim_use maillist. Do not top-post! Type
          Message 4 of 4 , Mar 1, 2010
          • 0 Attachment
            On Sat, Feb 27, 2010 at 5:59 PM, Christian Brabandt <cblists@...> wrote:
            > Try
            > :map <MiddleMouse> :tabclose<cr>

            Maybe
            :map <MiddleMouse> <Esc>:tabclose<Cr>

            Please notice that middle clicking _anywhere_ will close the tab.

            --
            You received this message from the "vim_use" maillist.
            Do not top-post! Type your reply below the text you are replying to.
            For more information, visit http://www.vim.org/maillist.php
          Your message has been successfully submitted and would be delivered to recipients shortly.