feat(functions): Add M-x nixos-man

Opens the configuration.nix man page
This commit is contained in:
Vincent Ambo 2018-06-08 15:14:09 +02:00
parent f70a16f453
commit d146f1089b

View file

@ -110,6 +110,11 @@ Including indent-buffer, which should not be called automatically on save."
(interactive) (interactive)
(find-file "/etc/nixos/configuration.nix")) (find-file "/etc/nixos/configuration.nix"))
;; Open the NixOS man page
(defun nixos-man ()
(interactive)
(man "configuration.nix"))
;; Open local emacs configuration ;; Open local emacs configuration
(defun emacs-config () (defun emacs-config ()
(interactive) (interactive)