Changeset - 76f0d6fad863
[Not reviewed]
0 2 0
Sergey Pashinin - 13 years ago 2013-05-07 00:04:58
sergey@pashinin.com
more info
2 files changed with 12 insertions and 8 deletions:
0 comments (0 inline, 0 general)
README.md
Show inline comments
 
# 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 also can create several workspaces.
 
- It saves all your opened buffers, their location and sizes on disk to restore later
 
- You can create several workspaces
 

	
 
Isn't it enough?
 
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
 
@@ -31,18 +33,19 @@ OR
 
        (add-to-list 'load-path "~/.emacs.d/extensions/workgroups2")
 
        (require 'workgroups2)
 

	
 
- and set some parameters:
 

	
 
        ;; Settings:
 
        (desktop-save-mode t)                ; save opened files
 
        (desktop-save-mode t)     ; save all opened files (or disable it)
 
        (setq wg-prefix-key (kbd "C-c z")
 
              wg-use-default-session-file nil ; turn off for "emacs --daemon"
 
              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
 
              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)
src/workgroups2.el
Show inline comments
 
@@ -33,15 +33,16 @@
 
;; See the README.md file at: https://github.com/pashinin/workgroups2
 
;; Add the lines below to your .emacs configuration.
 
;; You can also set some keyboard shortcuts.
 
;;
 
;; (require 'workgroups2)
 
;;
 
;; (desktop-save-mode t)                ; save opened files
 
;; (desktop-save-mode t)       ; save all opened files (or disable it)
 
;; (setq wg-prefix-key (kbd "C-c z")
 
;;       wg-use-default-session-file nil ; turn off for "emacs --daemon"
 
;;       wg-restore-associated-buffers nil ; all buffers opened in current 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
 
;; (workgroups-mode 1)       ; Activate workgroups
 
;;
 
;; (global-set-key (kbd "<pause>")     'wg-reload-session)
0 comments (0 inline, 0 general)