From d146f1089b3edb66d192df4fa725c5f6936a0ff4 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 8 Jun 2018 15:14:09 +0200 Subject: feat(functions): Add M-x nixos-man Opens the configuration.nix man page --- init/functions.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'init') 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) -- cgit 1.4.1