aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Emacs/.config/emacs/config.org12
-rw-r--r--Emacs/.config/emacs/core.org5
2 files changed, 6 insertions, 11 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)
diff --git a/Emacs/.config/emacs/core.org b/Emacs/.config/emacs/core.org
index b0d7e2f..ef0270b 100644
--- a/Emacs/.config/emacs/core.org
+++ b/Emacs/.config/emacs/core.org
@@ -147,10 +147,7 @@ Some bindings that I couldn't fit elsewhere easily.
(file-leader
"f" #'find-file
"F" #'find-file-other-frame
- "s" #'save-buffer
- "p" `(,(proc (interactive)
- (find-file (concat user-emacs-directory "config.org")))
- :which-key "Open config.org"))
+ "s" #'save-buffer)
(quit-leader
"q" #'save-buffers-kill-terminal