Add bindings for nix-mode

This commit is contained in:
Patrick Elliott 2018-07-16 17:10:57 +02:00
parent bdbe942fb9
commit 1dac12c9c0

View file

@ -13,3 +13,14 @@
(def-package! nix-repl (def-package! nix-repl
:after nix-mode :after nix-mode
:commands (nix-repl-show)) :commands (nix-repl-show))
(def-package! nix-mode
:config
(map! :map nix-mode-map
:localleader
:n "f" #'nix-update-fetch
:n "p" #'nix-format-buffer
:n "r" #'nix-repl-show
:n "s" #'nix-shell
:n "b" #'nix-build
:n "u" #'nix-unpack))