aboutsummaryrefslogtreecommitdiff
path: root/doom.d
diff options
context:
space:
mode:
Diffstat (limited to 'doom.d')
-rw-r--r--doom.d/modules/config.org8
-rw-r--r--doom.d/modules/personal.org10
2 files changed, 16 insertions, 2 deletions
diff --git a/doom.d/modules/config.org b/doom.d/modules/config.org
index 1b68be4..3a5ac96 100644
--- a/doom.d/modules/config.org
+++ b/doom.d/modules/config.org
@@ -38,7 +38,6 @@ Some quality of life things and others that I couldn't really put in one categor
- Set org directory
- Add libgen to search providers
- Looking at my battery percentage isn't very necessary but still really cool
-*
* Package Config
** Projectile
Really simple, just want to set projectile-tags-command when projectile has
@@ -136,7 +135,10 @@ If RETURN-P, return the message as a string instead of displaying it."
:action oreodave/weather)
("Jump to bookmark"
:icon (all-the-icons-octicon "bookmark" :face 'font-lock-keyword-face)
- :action bookmark-jump)))
+ :action bookmark-jump)
+ ("Open private config"
+ :icon (all-the-icons-octicon "file-directory" :face 'font-lock-keyword-face)
+ :action oreodave/goto-dotfiles)))
#+END_SRC
- Space image comes from [[https://flaticon.com][website]]
@@ -464,6 +466,8 @@ General keymap for leader
:desc "Shell command" "!" #'shell-command ; Better than M-!
(:prefix ("b" . "buffers") ; Buffers
:desc "Close buffer" "d" #'doom/kill-this-buffer-in-all-windows)
+ (:prefix ("f" . "files")
+ :desc "Open dotfiles" "p" #'oreodave/goto-dotfiles)
(:prefix ("o" . "open")
:after org
:desc "Calendar" "c" #'=calendar)
diff --git a/doom.d/modules/personal.org b/doom.d/modules/personal.org
index 0a209c6..e5a75ed 100644
--- a/doom.d/modules/personal.org
+++ b/doom.d/modules/personal.org
@@ -64,3 +64,13 @@ Function to quickly check weather, which is what I wanted wttrin for.
(interactive)
(wttrin (oreodave/password-store/get-password "location")))
#+END_SRC
+* Go to dotfiles
+A better version of 'goto private directory' which actually goes to my Dot files
+directory overall.
+
+#+BEGIN_SRC elisp
+(defun oreodave/goto-dotfiles ()
+ "Go to the dotfiles directory"
+ (interactive)
+ (doom-project-find-file "~/Dotfiles"))
+#+END_SRC