浏览代码

Use workgroups2 for layout saving.

cray
Mitch Tishmack 11 年前
父节点
当前提交
7d09bc12fa
共有 3 个文件被更改,包括 27 次插入9 次删除
  1. +6
    -0
      .gitignore
  2. +0
    -9
      emacs/.emacs.d/.gitignore
  3. +21
    -0
      emacs/.emacs.d/emacs.org

+ 6
- 0
.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

+ 0
- 9
emacs/.emacs.d/.gitignore 查看文件

@@ -1,9 +0,0 @@
session*
elpa
tramp
url
ac-dict
ac-comphist.dat
.emacs.desktop*
*.elc
emacs.el

+ 21
- 0
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...


正在加载...
取消
保存