diff options
author | Vincent Ambo <mail@tazj.in> | 2018-06-08T13·14+0200 |
---|---|---|
committer | Vincent Ambo <mail@tazj.in> | 2018-06-08T13·14+0200 |
commit | d146f1089b3edb66d192df4fa725c5f6936a0ff4 (patch) | |
tree | 9b52736705e3374589bc37af4ee1d9d7a5d318e6 /init/functions.el | |
parent | f70a16f45302111c7b17d7d247aa01b09039b4ed (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.el | 5 |
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) |