about summary refs log tree commit diff
path: root/init/functions.el
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-06-08T13·14+0200
committerVincent Ambo <mail@tazj.in>2018-06-08T13·14+0200
commitd146f1089b3edb66d192df4fa725c5f6936a0ff4 (patch)
tree9b52736705e3374589bc37af4ee1d9d7a5d318e6 /init/functions.el
parentf70a16f45302111c7b17d7d247aa01b09039b4ed (diff)
feat(functions): Add M-x nixos-man
Opens the configuration.nix man page
Diffstat (limited to 'init/functions.el')
-rw-r--r--init/functions.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init/functions.el b/init/functions.el
index 84a689656425..ebcc5b5f7d19 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 the NixOS man page
+(defun nixos-man ()
+  (interactive)
+  (man "configuration.nix"))
+
 ;; Open local emacs configuration
 (defun emacs-config ()
   (interactive)