Escreen

From WikEmacs
Revision as of 19:12, 13 April 2012 by AngelixD (talk | contribs) (Created page with "{{Package |name=escreen.el |description=Emacs window session manager |author=Noah Friedman |maintainer=Noah Friedman |source=http://www.splode.com/~friedman/software/emacs-lis...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
escreen.el
Description Emacs window session manager
Author Noah Friedman
Maintainer Noah Friedman
Source http://www.splode.com/~friedman/software/emacs-lisp/src/escreen.el

Escreen is a window multiplexer for Emacs.

Basic setup

(require 'escreen)
(escreen-install)

Helpful keybindings

[C-\ C-b]
Escreen menu. Describes the open windows and numbers.
[C-\ p] (or M-x escreen-goto-prev-screen)
Go to previous screen.
[C-\ n] (or M-x escreen-goto-next-screen)
Go to next screen.
[C-\ <n>] (or M-x escreen-goto-screen-<n>)
Go to screen number <n>.

Common Customization

Use [C-z] as your Escreen command prefix

(define-key global-map (kbd "C-z") nil)
(setq escreen-prefix-char (kbd "C-z"))

Go back with backspace

(define-key escreen-map (kbd "<backspace>") 'escreen-goto-prev-screen)

Add the screen number to the mode line

(add-hook 'escreen-goto-screen-hook
          'escreen-enable-number-mode-if-more-than-one-screen)