about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-11-13T09·21+0100
committerVincent Ambo <tazjin@gmail.com>2017-11-13T09·21+0100
commit18462a2f287d8f2b90f98b4abe64da99dac6d84a (patch)
tree2a71beffc9c4d5fc05a1defdc675df21d234a263
parentb0faa53657b3ef1c686ff0f87e75560bc6b104ef (diff)
feat(functions): Add M-x emacs-config helper
-rw-r--r--init/functions.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init/functions.el b/init/functions.el
index c47e64d348e5..738b6d9f9dc7 100644
--- a/init/functions.el
+++ b/init/functions.el
@@ -110,6 +110,11 @@ Including indent-buffer, which should not be called automatically on save."
   (interactive)
   (find-file "/etc/nixos/configuration.nix"))
 
+;; Open local emacs configuration
+(defun emacs-config ()
+  (interactive)
+  (dired "~/.emacs.d/"))
+
 ;; Get the nix store path for a given derivation.
 ;; If the derivation has not been built before, this will trigger a build.
 (defun nix-store-path (derivation)