You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E2WM is a window manager for Emacs. It enables to customize the
place of pop-up window, how the windows are split, how the buffers
are located in the windows, keybinds to manipulate windows and
buffers, etc. It also has plug-ins to help your Emacs life.
Buffer history
Buffers that you edit is recorded in a special history. It will
help you to go back and forth to edit these buffers.
Perspective
Depending on the kind of your task, you can change how the windows are
split. Following the term from Eclipse, it is called perspective.
E2WM has the following perspectives by default.
Code perspective
Place a buffer for reading/writing code at center and helper plug-ins
around of it.
Two / HTwo perspective
Show two buffers by splitting left and right (two) or top and bottom (htwo).
Doc perspective
Read long code or document in the follow-mode.
Dashboard perspective
Put the buffers you want see occasionally.
Array perspective
Show all the buffers you have and help searching for the buffer you
are looking for visually.
Emacs DBI
Emacs DBI (Database Interface for Emacs Lisp) has it's own perspective
to manipulate database.
Perspective is highly customizable. You don't need to split windows
by yourself anymore; let E2WM do the job!
Plug-ins
E2WM can have windows which have a specific function, something like
Eclipse's "view". It is called plug-in. E2WM has the following
plug-ins by default. (Yes, you can create your own plug-ins also.)
history-list
Show buffer history.
files (dired)
A list of files in the current directory.
imenu
Show the outline of the current code and the current position on it
using Imenu.
Install
Put e2wm.el and
window-layout.el in
your load-path. This is a very simple setting example:
Have a look at e2wm-config.el to see how to customize E2WM.
Warning: E2WM overrides Emacs lisp functions which is related to
window manipulation. It is possible that E2WM does not work in your
environment. It is recommended to test if E2WM works find before
use it to serious files.