+goto-dotfiles function
Code cleanliness
This commit is contained in:
@@ -38,7 +38,6 @@ Some quality of life things and others that I couldn't really put in one categor
|
|||||||
- Set org directory
|
- Set org directory
|
||||||
- Add libgen to search providers
|
- Add libgen to search providers
|
||||||
- Looking at my battery percentage isn't very necessary but still really cool
|
- Looking at my battery percentage isn't very necessary but still really cool
|
||||||
*
|
|
||||||
* Package Config
|
* Package Config
|
||||||
** Projectile
|
** Projectile
|
||||||
Really simple, just want to set projectile-tags-command when projectile has
|
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)
|
:action oreodave/weather)
|
||||||
("Jump to bookmark"
|
("Jump to bookmark"
|
||||||
:icon (all-the-icons-octicon "bookmark" :face 'font-lock-keyword-face)
|
: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
|
#+END_SRC
|
||||||
|
|
||||||
- Space image comes from [[https://flaticon.com][website]]
|
- Space image comes from [[https://flaticon.com][website]]
|
||||||
@@ -464,6 +466,8 @@ General keymap for leader
|
|||||||
:desc "Shell command" "!" #'shell-command ; Better than M-!
|
:desc "Shell command" "!" #'shell-command ; Better than M-!
|
||||||
(:prefix ("b" . "buffers") ; Buffers
|
(:prefix ("b" . "buffers") ; Buffers
|
||||||
:desc "Close buffer" "d" #'doom/kill-this-buffer-in-all-windows)
|
:desc "Close buffer" "d" #'doom/kill-this-buffer-in-all-windows)
|
||||||
|
(:prefix ("f" . "files")
|
||||||
|
:desc "Open dotfiles" "p" #'oreodave/goto-dotfiles)
|
||||||
(:prefix ("o" . "open")
|
(:prefix ("o" . "open")
|
||||||
:after org
|
:after org
|
||||||
:desc "Calendar" "c" #'=calendar)
|
:desc "Calendar" "c" #'=calendar)
|
||||||
|
|||||||
@@ -64,3 +64,13 @@ Function to quickly check weather, which is what I wanted wttrin for.
|
|||||||
(interactive)
|
(interactive)
|
||||||
(wttrin (oreodave/password-store/get-password "location")))
|
(wttrin (oreodave/password-store/get-password "location")))
|
||||||
#+END_SRC
|
#+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
|
||||||
|
|||||||
Reference in New Issue
Block a user