Files
@ f684b840af58
Branch filter:
Location: workgroups2/README.md - annotation
f684b840af58
2.7 KiB
text/markdown
removed unused var in restoring agenda buffer
443938b472d4 39c60dfa7be0 39c60dfa7be0 39c60dfa7be0 443938b472d4 76f0d6fad863 76f0d6fad863 443938b472d4 76f0d6fad863 76f0d6fad863 76f0d6fad863 443938b472d4 39c60dfa7be0 443938b472d4 9b0bd97a9ea6 443938b472d4 39c60dfa7be0 443938b472d4 9b0bd97a9ea6 443938b472d4 443938b472d4 2cb93c0ffc24 443938b472d4 443938b472d4 443938b472d4 443938b472d4 443938b472d4 443938b472d4 39c60dfa7be0 39c60dfa7be0 39c60dfa7be0 443938b472d4 443938b472d4 443938b472d4 443938b472d4 443938b472d4 443938b472d4 443938b472d4 76f0d6fad863 443938b472d4 76f0d6fad863 76f0d6fad863 39c60dfa7be0 443938b472d4 76f0d6fad863 443938b472d4 39c60dfa7be0 39c60dfa7be0 39c60dfa7be0 39c60dfa7be0 39c60dfa7be0 443938b472d4 39c60dfa7be0 443938b472d4 39c60dfa7be0 443938b472d4 39c60dfa7be0 443938b472d4 39c60dfa7be0 39c60dfa7be0 39c60dfa7be0 39c60dfa7be0 e81935ab5213 39c60dfa7be0 443938b472d4 39c60dfa7be0 443938b472d4 39c60dfa7be0 443938b472d4 39c60dfa7be0 443938b472d4 39c60dfa7be0 443938b472d4 39c60dfa7be0 443938b472d4 443938b472d4 443938b472d4 443938b472d4 443938b472d4 39c60dfa7be0 443938b472d4 443938b472d4 443938b472d4 443938b472d4 443938b472d4 443938b472d4 d91fec7ef3a6 | # Workgroups for Emacs
## What is it?
Workgroups is a session manager for Emacs.
- It saves all your opened buffers, their location and sizes on disk to restore later
- You can create several workspaces
You can also restore such buffers as: org-agenda, shell, magit-status, help.
Fork it and [add more special buffers support](https://github.com/pashinin/workgroups2/wiki/For-developers). Or even better - fix bugs.
## Install
- Just install "workgroups2" from Melpa.
OR
- use git and put `workgroups2` somewhere on your Emacs load path
cd ~/.emacs.d/extensions
git clone git://github.com/pashinin/workgroups2.git
- Byte-compile it if you want. This isn't required, but it'll speed some
things up:
C-u 0 M-x byte-recompile-directory <RET> ~/.emacs.d/extensions/workgroups2/
## Configure
- Load a module (if you installed it not from Melpa):
(add-to-list 'load-path "~/.emacs.d/extensions/workgroups2")
(require 'workgroups2)
- and set some parameters:
;; Settings:
(desktop-save-mode t) ; save all opened files (or disable it)
(setq wg-prefix-key (kbd "C-c z")
wg-restore-associated-buffers nil ; restore all buffers opened in this WG?
wg-use-default-session-file nil ; turn off for "emacs --daemon"
wg-default-session-file "~/.emacs_files/workgroups"
wg-use-faces nil
wg-morph-on nil) ; animation off
;; Keyboard shortcuts - load, save, switch
(global-set-key (kbd "<pause>") 'wg-reload-session)
(global-set-key (kbd "C-S-<pause>") 'wg-save-session)
(global-set-key (kbd "s-z") 'wg-switch-to-workgroup)
(global-set-key (kbd "s-/") 'wg-switch-to-previous-workgroup)
(workgroups-mode 1) ; Activate workgroups
## Use
Most commands are bound to both `<prefix> <key>` and `<prefix> C-<key>`.
<prefix> <key>
<prefix> c - create workgroup
<prefix> k - kill workgroup
<prefix> v - switch to workgroup
<prefix> C-s - save session
<prefix> C-f - load session
## Help
Type `<prefix> ?` (Eval `(wg-help)`) for more help.
This will bring up a help buffer listing all the commands and their bindings.
See the customization section in the source for details, or use:
M-x customize-group RET workgroups RET
## Original Workgroups
There is a package on Melpa called "workgroups".
This extension is based on experimental branch of the [original repo](http://github.com/tlh/workgroups.el).
So great respect to the author. But it has not been updated for more
than 2 years and experimental branch was not released.
## License
Workgroups for Emacs is released under the GPL.
|