diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-05-12 21:20:30 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-05-12 21:20:30 -0400 |
commit | 18f119bca401ea47f48cce102242accefe73611b (patch) | |
tree | 0f118aa7176ec73fd3aa4c9a55ea34c0662c3d99 | |
parent | 7477068fc00ad542b771f388fa2e5af82ac00939 (diff) | |
download | emacs.d-18f119bca401ea47f48cce102242accefe73611b.tar.gz |
Move ace settings to separate file
-rw-r--r-- | init.el | 1 | ||||
-rw-r--r-- | lisp/init-ace.el | 10 | ||||
-rw-r--r-- | lisp/init-editing.el | 6 |
3 files changed, 11 insertions, 6 deletions
@@ -19,6 +19,7 @@ (require 'init-buffile) (require 'init-framewin) +(require 'init-ace) (require 'init-view) (require 'init-editing) diff --git a/lisp/init-ace.el b/lisp/init-ace.el new file mode 100644 index 0000000..49e09b9 --- /dev/null +++ b/lisp/init-ace.el @@ -0,0 +1,10 @@ +(require-package 'ace-jump-mode) +(require-package 'ace-link) + +(key-chord-define-global ";a" 'ace-jump-mode) + +(setq ace-jump-mode-scope 'frame) + +(ace-link-setup-default) + +(provide 'init-ace) diff --git a/lisp/init-editing.el b/lisp/init-editing.el index fb4d691..3d4dd2d 100644 --- a/lisp/init-editing.el +++ b/lisp/init-editing.el @@ -1,14 +1,8 @@ (require-package 'multiple-cursors) (require-package 'expand-region) (require-package 'wrap-region) -(require-package 'ace-jump-mode) -(require-package 'ace-link) -(ace-link-setup-default) (global-set-key (kbd "C-x \\") 'align-regexp) -(key-chord-define-global ";a" 'ace-jump-mode) - -(setq ace-jump-mode-scope 'frame) ;; Overrides `suspend-emacs' (which is also bound to C-x C-z). (global-set-key (kbd "C-z") 'zap-to-char) |