~Just use lambda for open dotfiles

Removed the oreodave/goto-dotfiles function.
This commit is contained in:
odave
2020-04-05 02:34:49 +01:00
parent f695c12a49
commit df2517a6e8
2 changed files with 1 additions and 11 deletions

View File

@@ -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)

View File

@@ -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