1. Frank Fischer
  2. evil
Issue #338 open

Swap buffers in windows not implemented (Ctrl-W x)

arianaut
created an issue

Buffer/window swapping behavior of vim (Ctrl-W x) is not implemented in evil.

Comments (3)

  1. arianaut reporter
    CTRL-W r                *CTRL-W_r* *CTRL-W_CTRL-R* *E443*
    CTRL-W CTRL-R   Rotate windows downwards/rightwards.  The first window becomes
            the second one, the second one becomes the third one, etc.
            The last window becomes the first window.  The cursor remains
            in the same window.
            This only works within the row or column of windows that the
            current window is in.
    
                            *CTRL-W_R*
    CTRL-W R    Rotate windows upwards/leftwards.  The second window becomes
            the first one, the third one becomes the second one, etc.  The
            first window becomes the last window.  The cursor remains in
            the same window.
            This only works within the row or column of windows that the
            current window is in.
    
    CTRL-W x                    *CTRL-W_x* *CTRL-W_CTRL-X*
    CTRL-W CTRL-X   Without count: Exchange current window with next one.  If there
            is no next window, exchange with previous window.
            With count: Exchange current window with Nth window (first
            window is 1).  The cursor is put in the other window.
            When vertical and horizontal window splits are mixed, the
            exchange is only done in the row or column of windows that the
            current window is in.
    

    Ctrl-W x doesn't exist in Evil at the moment, this is a minor feature request.

  2. Log in to comment