From bcfa27a079b184887a36607c6d305606e8f9ea63 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 28 Sep 2017 17:17:58 +0200 Subject: [PATCH] Correct +org-capture/dwim keybinds/commands #213 --- modules/private/hlissner/+bindings.el | 4 ++-- modules/private/hlissner/+commands.el | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/private/hlissner/+bindings.el b/modules/private/hlissner/+bindings.el index 779202201..2420f703a 100644 --- a/modules/private/hlissner/+bindings.el +++ b/modules/private/hlissner/+bindings.el @@ -79,7 +79,7 @@ :desc "Ex command" :nv ";" #'evil-ex :desc "M-x" :nv ":" #'execute-extended-command :desc "Pop up scratch buffer" :nv "x" #'doom/scratch-buffer - :desc "Org Capture" :nv "X" #'+org/capture + :desc "Org Capture" :nv "X" #'+org-capture/dwim ;; Most commonly used :desc "Find file in project" :n "SPC" #'projectile-find-file @@ -226,7 +226,7 @@ (:desc "notes" :prefix "n" :desc "Find file in notes" :n "n" #'+hlissner/find-in-notes :desc "Browse notes" :n "N" #'+hlissner/browse-notes - :desc "Org capture" :n "x" #'+org/capture + :desc "Org capture" :n "x" #'+org-capture/dwim :desc "Browse mode notes" :n "m" #'+org/browse-notes-for-major-mode :desc "Browse project notes" :n "p" #'+org/browse-notes-for-project) diff --git a/modules/private/hlissner/+commands.el b/modules/private/hlissner/+commands.el index 70125e680..6c22a1ad8 100644 --- a/modules/private/hlissner/+commands.el +++ b/modules/private/hlissner/+commands.el @@ -97,4 +97,4 @@ (ex! "tabsave" #'+workspace:save) ;; Org-mode -(ex! "org" #'+org:capture) +(ex! "cap" #'+org-capture/dwim)