diff options
-rw-r--r-- | tag-emacs/emacs.d/init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index a4ac789e..495de5d9 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -490,7 +490,10 @@ (bind-key "s-x" (define-prefix-command 'super-x-map)) -(bind-key "s-," #'init-imenu) +(defun switch-to-dotfiles () + (interactive) + (projectile-persp-switch-project (expand-file-name "dotfiles" home-project-directory))) +(bind-key "s-," #'switch-to-dotfiles) (set-register ?e `(file . ,*init-file*)) (set-register ?z `(file . ,(expand-file-name ".config/zsh/zshrc" "~"))) |