diff options
-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) |