Escreen

From WikEmacs
Revision as of 14:12, 13 April 2012 by AngelixD (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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[edit]

(require 'escreen)
(escreen-install)

Helpful keybindings[edit]

[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[edit]

Use [C-z] as your Escreen command prefix[edit]

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

Go back with backspace[edit]

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

Add the screen number to the mode line[edit]

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