Skip to content

Instantly share code, notes, and snippets.

@rphillips
Created January 3, 2015 06:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rphillips/240a200d4b71a2815621 to your computer and use it in GitHub Desktop.
Save rphillips/240a200d4b71a2815621 to your computer and use it in GitHub Desktop.
(defvar workgroups2-packages
'(
workgroups2
)
"List of all packages to install and/or initialize. Built-in packages
which require an initialization must be listed explicitly in the list.")
(defun workgroups2/init-workgroups2 ()
(use-package workgroups2
:init
(progn
(evil-leader/set-key
"Pr" 'wg-rename-workgroup
"PK" 'wg-kill-workgroup-and-buffers
"Pk" 'wg-kill-workgroup
"Pc" 'wg-create-workgroup
"P^" 'wg-swap-workgroups
"Pe" 'wg-open-session
"Pw" 'wg-save-session
"Ps" 'wg-switch-to-workgroup))
:config
(progn
(interactive)
(workgroups-mode 1)
)
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment