aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-23 01:40:27 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-23 01:40:27 +0530
commita35eeb19b96a2de797df192664c5480d3c5507c7 (patch)
tree1cdecb73557e8ea037c49d323273048fbfd6339f /Emacs/.config/emacs/config.org
parent5aec6298cfc2ca9889f9fababf5d38281ce0a192 (diff)
downloaddotfiles-a35eeb19b96a2de797df192664c5480d3c5507c7.tar.gz
dotfiles-a35eeb19b96a2de797df192664c5480d3c5507c7.tar.bz2
dotfiles-a35eeb19b96a2de797df192664c5480d3c5507c7.zip
(Emacs/config|core)~<SPC-fp>: go to config.org -> search org heading
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org12
1 files changed, 5 insertions, 7 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 9df46d4..7318b77 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -555,11 +555,8 @@ a 'project'.
"t" #'projectile-test-project
"r" #'projectile-run-project
"q" #'projectile-replace-regexp)
- (leader "p" '(projectile-command-map :which-key "Projectile"))
- (nmap
- "<f5>" #'projectile-compile-project
- "<f6>" #'projectile-configure-project
- "<f7>" #'projectile-test-project)
+ (leader
+ "p" '(projectile-command-map :which-key "Projectile"))
:init
(setq projectile-tags-command "ctags -Re -f \"%s\" %s \"%s\""
projectile-enable-caching t))
@@ -1257,6 +1254,7 @@ Some bindings for org mode.
"Searches directory (of buffer) for org headings via counsel-rg"
(interactive)
(counsel-rg "^\\* " (file-name-directory (buffer-file-name))))
+
(defun +org/search-config-headings ()
"Searches USER-EMACS-DIRECTORY for org headings via counsel-rg"
(interactive)
@@ -1270,8 +1268,8 @@ Some bindings for org mode.
"i" #'org-insert-last-stored-link)
(code-leader
"D" #'org-babel-detangle)
- (search-leader
- "c" #'+org/search-config-headings)
+ (file-leader
+ "p" #'+org/search-config-headings)
(search-leader
:keymaps 'org-mode-map
"I" #'+org/search-headings)