diff --git a/.gitignore b/.gitignore index e242da6..a03fb29 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,9 @@ .checksum common/.profile git/.gitconfig +emacs/.emacs.d/workgroups +emacs/.emacs.d/desktop +emacs/.emacs.d/ac-comphist.dat +emacs/.emacs.d/elpa +emacs/.emacs.d/emacs.el +emacs/.emacs.d/url diff --git a/emacs/.emacs.d/.gitignore b/emacs/.emacs.d/.gitignore deleted file mode 100644 index 7e4fc0f..0000000 --- a/emacs/.emacs.d/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -session* -elpa -tramp -url -ac-dict -ac-comphist.dat -.emacs.desktop* -*.elc -emacs.el diff --git a/emacs/.emacs.d/emacs.org b/emacs/.emacs.d/emacs.org index dff3bbe..2b32f66 100644 --- a/emacs/.emacs.d/emacs.org +++ b/emacs/.emacs.d/emacs.org @@ -486,6 +486,27 @@ Make git not ass to use. At least in emacs. magit is the best git interface... i :commands (magit-blame-mode) ) #+END_SRC +** workgroups2 + +Save workgroup layouts. Similar..ish to desktop-save. + +#+BEGIN_SRC emacs-lisp + (use-package workgroups2 + :ensure t + :init (progn + ;; Can't use :bind OR :config for this sadly + ;; also annoying, is that I have to set this before + ;; running workgroups-mode. Hokey stuff. + ;; + ;; Also note, use setq here not customize-set-variable + ;; workgroups2 can't detect stuff thats customized. + (setq wg-session-file "~/.emacs.d/workgroups") + (setq wg-prefix-key (kbd "C-c C-w")) + (workgroups-mode 1) + ) + ) +#+END_SRC + ** autopair Highlight matching ()'s []'s etc...