dsemy.com swsw [Home]

Next: , Previous: , Up: swsw User Manual   [Contents][Index]


3 Usage

In order to use any feature of the package, swsw-mode must be enabled:

M-x swsw-mode RET

You can also add (swsw-mode) to your init file, instead.

When swsw-mode is enabled, window IDs are shown as mode line lighters of the form <ID> (by default, See ID display), and other-window (C-x o) is remapped to swsw-select.

C-x o ID, C-x o o ID

Select the window corresponding to ID in the current scope (See Customization) (swsw-select).

C-x o 0 ID

Delete the window corresponding to ID in the current scope (swsw-delete).

C-x o 1 ID

Make the window corresponding to ID the in the current scope the sole window of its frame (swsw-delete-other).

C-x o 2 ID

Split the window corresponding to ID in the current scope from below (swsw-split-window-below). This window command accepts a prefix argument (with the same semantics as split-window-below).

C-x o 3 ID

Split the window corresponding to ID in the current scope from the right (swsw-split-window-right). This window command accepts a prefix argument (with the same semantics as split-window-right).

C-x o 4 ID

Display the buffer of the next command in the window corresponding to ID in the current scope (swsw-delete).

C-x o t ID

Swap the states of the current window and the window corresponding to ID in the current scope (swsw-delete).

C-x o m

Switch to the minibuffer if it’s active (swsw-select-minibuffer).

See Window commands for information regarding defining new commands.


Next: Customization, Previous: Installation, Up: swsw User Manual   [Contents][Index]


Copyright © Daniel Semyonov 2020-2022