aboutsummaryrefslogtreecommitdiff
path: root/doom.d/org
diff options
context:
space:
mode:
authorodave <aryadevchavali1@gmail.com>2020-04-05 02:34:49 +0100
committerodave <aryadevchavali1@gmail.com>2020-04-05 02:34:49 +0100
commitdf2517a6e8e36ffe1b71fe2ed870064fd69caf38 (patch)
tree9734aae4e80fa602ebdd1ff9346204e4282742b2 /doom.d/org
parentf695c12a49ac6a555191382f0c6655f23f744fb5 (diff)
downloaddotfiles-df2517a6e8e36ffe1b71fe2ed870064fd69caf38.tar.gz
dotfiles-df2517a6e8e36ffe1b71fe2ed870064fd69caf38.tar.bz2
dotfiles-df2517a6e8e36ffe1b71fe2ed870064fd69caf38.zip
~Just use lambda for open dotfiles
Removed the oreodave/goto-dotfiles function.
Diffstat (limited to 'doom.d/org')
-rw-r--r--doom.d/org/config.org2
-rw-r--r--doom.d/org/personal.org10
2 files changed, 1 insertions, 11 deletions
diff --git a/doom.d/org/config.org b/doom.d/org/config.org
index 3b12709..ba8ea64 100644
--- a/doom.d/org/config.org
+++ b/doom.d/org/config.org
@@ -438,7 +438,7 @@ General keymap for leader
(: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)
+ :desc "Open dotfiles" "p" #'(lambda () (interactive) (doom-project-find-file "~/Dotfiles")))
(:prefix ("o" . "open")
:after org
:desc "Calendar" "c" #'=calendar)
diff --git a/doom.d/org/personal.org b/doom.d/org/personal.org
index b2683e0..5d55bef 100644
--- a/doom.d/org/personal.org
+++ b/doom.d/org/personal.org
@@ -71,13 +71,3 @@ 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