diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-01-23 23:23:05 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-01-27 01:01:05 -0500 |
commit | d9cae60fa5048abd3528f96a285109329639fda6 (patch) | |
tree | f4e25372dd4e8c466c82a09cd11c1dd5cb882487 /lisp/init-ace.el | |
parent | 06d5146080137650645ad0750e23c8a238754ea6 (diff) | |
download | emacs.d-d9cae60fa5048abd3528f96a285109329639fda6.tar.gz |
Improve organization and consistency of files
- Add pages and more headings for large files.
- Try to use consistent order for file (or page) structure.
* Loading
* Settings
* Hooks
* Any mode activation or function calls
* My functions
* Key bindings
Diffstat (limited to 'lisp/init-ace.el')
-rw-r--r-- | lisp/init-ace.el | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/lisp/init-ace.el b/lisp/init-ace.el index 1e4bc55..42c04f2 100644 --- a/lisp/init-ace.el +++ b/lisp/init-ace.el @@ -1,15 +1,10 @@ ;;; Ace Jump -(key-chord-define-global ";a" 'ace-jump-mode) - (setq ace-jump-mode-scope 'frame) -;;; Ace Link - -(ace-link-setup-default) +(key-chord-define-global ";a" 'ace-jump-mode) -(after 'org - (define-key org-mode-map (kbd "C-c m o") 'ace-link-org)) +;;; Ace Link (defun km/ace-link-dired () "Ace jump to files in dired buffers." @@ -28,18 +23,20 @@ (push it points))) (nreverse points)))) +(ace-link-setup-default) +(after 'org + (define-key org-mode-map (kbd "C-c m o") 'ace-link-org)) (after 'dired - ;; This overrides the binding for `dired-find-file-other-window', which - ;; is rebound to 'r'. + ;; This overrides the binding for `dired-find-file-other-window'. (define-key dired-mode-map "o" 'km/ace-link-dired) (define-key dired-mode-map "r" 'dired-find-file-other-window)) ;;; Ace Window -(define-key km/window-map "a" 'ace-window) (setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l) aw-scope 'global) +(define-key km/window-map "a" 'ace-window) (key-chord-define-global ",w" 'ace-window) (provide 'init-ace) |