aboutsummaryrefslogtreecommitdiff
path: root/spacemacs.el
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-07-25 21:13:09 -0300
committerEuAndreh <eu@euandre.org>2018-07-25 21:13:09 -0300
commit39af3de3a95153cafd38233ad271e30ef25759e8 (patch)
tree6fce8289c9fbe5de851c28dcab8853f55d42bec9 /spacemacs.el
parentDon't run locked_init by default (diff)
downloaddotfiles-39af3de3a95153cafd38233ad271e30ef25759e8.tar.gz
dotfiles-39af3de3a95153cafd38233ad271e30ef25759e8.tar.xz
Add keybind for relaoding projectile known projects
Diffstat (limited to 'spacemacs.el')
-rw-r--r--spacemacs.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/spacemacs.el b/spacemacs.el
index 74e6cf7..8c85623 100644
--- a/spacemacs.el
+++ b/spacemacs.el
@@ -587,6 +587,10 @@ dump."
;; FIXME
(message "C-u M-x debbugs-gnu <RET> <RET> guix-patches <RET> n y"))
+(defun euandreh/projectile-reload-known-projects ()
+ (interactive)
+ (projectile-load-known-projects))
+
(defun dotspacemacs/user-config ()
"Configuration function for user code.
This function is called at the very end of Spacemacs initialization after layers configuration.
@@ -596,10 +600,9 @@ This is the place where most of your configurations should be done. Unless it is
(eval-after-load 'clojure-mode '(set-custom-clj-indent))
(eval-after-load 'midje-mode '(set-custom-clj-indent))
- (projectile-cleanup-known-projects)
-
(spacemacs/set-leader-keys
"GP" 'guix-debbugs-org
+ "p C-r" 'euandreh/projectile-reload-known-projects
"an" 'notmuch
"/" 'engine/search-duck-duck-go
"d" 'spacemacs/delete-window