Skip to content
Bar edited this page Feb 13, 2016 · 10 revisions

Table of Contents

Open files and switch buffers

Key Command What it does
C-x b purpose-friendly-switch-buffer Switch to a buffer, show it in a window determined by Purpose. This uses either IDO prompt, Helm prompt or vanilla prompt, depending on what's enabled.
C-u C-x b switch-buffer-without-purpose Switch to a buffer without considering Purpose
C-u C-u C-x b purpose-switch-buffer-with-purpose Like C-x b, but limit the buffer choice to buffers with the same purpose as the current buffer
None purpose-switch-buffer-with-some-purpose Select a purpose, then switch to a buffer that has that purpose.
C-x C-f purpose-friendly-find-file Open a file, show it in a window determined by Purpose. This uses either IDO prompt, Helm prompt or vanilla prompt, depending on what's enabled.
C-u C-x C-f find-file-without-purpose Open a file without considering Purpose
  • Replace C-x with C-x 4 in any of the above to show the buffer in another window.
  • Replace C-x with C-x 5 in any of the above to show the buffer in another frame.
  • C-x j (quit-window): Useful for closing a window that you meant to open temporarily (like q in Help windows)

Window dedication

Key Command What it does
C-c , d purpose-toggle-window-purpose-dedicated Make the current window dedicated or not-dedicated to its current purpose. Purpose-dedicated windows have a "!" appended to their purpose in the mode-line.
C-c , D purpose-toggle-window-buffer-dedicated Make the current window dedicated or not-dedicated to its current buffer. Displays a message saying if buffer-dedication was turned on or off.

Window and frame layout

Key Command What it does
None purpose-save-window-layout Save the current window layout to file
None purpose-load-window-layout Load a window layout from file (changes the layout of the current frame)
None purpose-save-window-layout-file Save the current window layout to file, choose file directly
None purpose-load-window-layout-file Load a window layout from file, choose file directly
None purpose-reset-window-layout Reload the latest window layout that was loaded
None purpose-save-frame-layout Save the current frame layout to file. The frame layout is a list of the window layouts of all live frames.
None purpose-load-frame-layout Load a frame layout from file (closes existing frames and creates other frames according to the frame layout)
None purpose-save-frame-layout-file Save the current frame layout to file, choose file directly
None purpose-load-frame-layout-file Load a frame layout from file, choose file directly
None purpose-reset-frame-layout Reload the latest frame layout that was loaded
C-c , 1 purpose-delete-non-dedicated-windows Delete all windows that aren't dedicated
None purpose-set-window-purpose Change the purpose of the current window. Window's buffer is changed accordingly.
None purpose-delete-window-at-top Delete top-most window in frame. Note that if the window doesn't span the entire frame's width, it's not considered "top-most".
None purpose-delete-window-at-bottom Delete bottom-most window in frame. Note that if the window doesn't span the entire frame's width, it's not considered "bottom-most".
None purpose-delete-window-at-left Delete left-most window in frame. Note that if the window doesn't span the entire frame's width, it's not considered "left-most".
None purpose-delete-window-at-right Delete right-most window in frame. Note that if the window doesn't span the entire frame's width, it's not considered "right-most".

Purpose configuration

Key Command What it does
None purpose-reset-configuration Reset the purpose-configuration to its default configuration