From d02cbaa2dcc57df8069174cdae35b4372f50556f Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 23 Nov 2014 03:10:43 -0800 Subject: [PATCH] Ace jump mode to C-j --- .gitignore | 3 ++- init.el | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 7548dad2..e1cc72f9 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,5 @@ smex-items ido.last session.* var -skewer-cache \ No newline at end of file +skewer-cache +.org-id-locations \ No newline at end of file diff --git a/init.el b/init.el index fb7f5193..5acebd18 100644 --- a/init.el +++ b/init.el @@ -309,8 +309,7 @@ buffer is not visiting a file." :config (progn (setq ace-jump-mode-scope 'window)) - :bind (("C-;" . ace-jump-mode) - ("C-c j" . ace-jump-mode))) + :bind (("C-j" . ace-jump-mode))) (use-package flycheck :ensure t @@ -422,8 +421,11 @@ buffer is not visiting a file." :ensure t :commands (org-mode org) :mode ("\\.org\\'" . org-mode) + :config (unbind-key "C-j" org-mode-map) :init (progn + (if (and (boundp 'file-notify--library) file-notify--library) + (use-package org-mobile-sync :ensure t :config (org-mobile-sync-mode 1))) (setq org-directory "~/Dropbox/org") (setq org-mobile-inbox-for-pull "~/Dropbox/org/flagged.org") (setq org-mobile-directory "~/Dropbox/Apps/MobileOrg") @@ -433,8 +435,7 @@ buffer is not visiting a file." (guide-key/add-local-highlight-command-regexp "org-")) (add-hook 'org-mode-hook 'guide-key/my-hook-function-for-org-mode) (add-hook 'org-mode-hook (lambda () (linum-mode 0))) - (define-key mode-specific-map [?a] 'org-agenda) - (local-set-key (kbd "C-j") 'ace-jump-mode))) + (define-key mode-specific-map [?a] 'org-agenda))) (use-package epg :ensure t