Changeset - 0f280ca956ef
[Not reviewed]
0 1 0
Sergey Pashinin - 11 years ago 2014-08-30 12:33:25
sergey@pashinin.com
readme update
1 file changed with 10 insertions and 2 deletions:
README.md
10
2
0 comments (0 inline, 0 general)
README.md
Show inline comments
 
@@ -40,29 +40,37 @@ By default prefix is: "C-c z" (To change it - see settings below)
 

	
 
If you want to change some settings - here is an example:
 

	
 
    (require 'workgroups2)
 
    ;; Your settings here
 

	
 
    ;; autoload/autosave:
 
    ;;(setq wg-session-load-on-start nil)
 
    ;;(setq wg-session-load-on-start t)    ; default: (not (daemonp))
 

	
 
    ;; Change prefix key (before activating WG)
 
    (setq wg-prefix-key (kbd "C-c z"))
 

	
 
    ;; Change workgroups session file
 
    (setq wg-session-file "~/.emacs.d/.emacs_workgroups")
 

	
 
    ;; Set your own keyboard shortcuts to reload/save/switch WG:
 
    ;; "s" == "Super" or "Win"-key, "S" == Shift, "C" == Control
 
    (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)   ; put this one at the bottom of .emacs
 

	
 
## More options
 

	
 
```elisp
 
;; What to do on Emacs exit / workgroups-mode exit?
 
(setq wg-emacs-exit-save-behavior           'save)      ; Options: 'save 'ask nil
 
(setq wg-workgroups-mode-exit-save-behavior 'save)      ; Options: 'save 'ask nil
 
```
 

	
 
## Help
 

	
 
Type `<prefix> ?` (Eval `(wg-help)`) for more help.
 

	
 
This will bring up a help buffer listing all the commands and their bindings.
 

	
0 comments (0 inline, 0 general)