Perspective for Emacs
This package provides tagged workspaces in Emacs, similar to workspaces in windows managers such as Awesome and XMonad (and somewhat similar to multiple desktops in Gnome or Spaces in OS X).
perspective.el provides multiple workspaces (or "perspectives") for each Emacs
frame. This makes it easy to work on many separate projects without getting lost
in all the buffers.
Each perspective is composed of a window configuration and a set of buffers. Switching to a perspective activates its window configuration, and when in a perspective only its buffers are available by default.
It's recommended that you install perspective.el from MELPA.
Alternately, you may put it in your load path and run
(require 'perspective). Users of Debian 9 or later or Ubuntu 16.04
or later may simply
apt-get install elpa-perspective.
To activate perspective use
Commands are all prefixed by
C-x x. Here are the main commands:
Key -- Command
persp-switch: Query a perspective to switch or create
persp-remove-buffer: Query a buffer to remove from current perspective
persp-kill: Query a perspective to kill
persp-rename: Rename current perspective
persp-add-buffer: Query an open buffer to add to current perspective
persp-set-buffer: Add buffer to current perspective and remove it from all others
persp-import: Import a given perspective from another frame.
persp-next: Switch to next perspective
persp-prev: Switch to previous perspective