Skip to content

renumber/reorder windows by dragging using mouse #656

Closed

Description

@dmd

It would be nice if, in mouse mode, one could drag window titles to reorder/renumber them (like tabs in a browser).

Activity

  1. dmd commented on Nov 20, 2016

    @dmd
    Author

    It would be nice to leave a comment like 'won't do this' or something instead of just closing with no explanation at all.

  2. KamarajuKusumanchi commented on Jun 22, 2018

    @KamarajuKusumanchi

    This can be achieved by adding the following lines to the tmux configuration file (~/.tmux.config)

    # Drag windows on the status bar
    bind-key -n MouseDrag1Status swap-window -t=
  3. sudobash1 commented on Dec 31, 2019

    @sudobash1

    For those who find this issue in a Google search, you need to add a -d flag to swap-window now (as of version 3.0 I believe). This prevents the window you are swapping from being selected. If you don't do this, you will get tons of stuttering behavior when dragging windows.

    bind-key -n MouseDrag1Status swap-window -d -t=
    

    (Thanks to @nicm for pointing this out)

  4. lock commented on Mar 11, 2020

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  5. locked and limited conversation to collaborators on Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions