guix: Support guix-service-list-mode

This commit is contained in:
Pierre Neidhardt 2019-05-19 21:08:43 +02:00
parent f5a4badbfc
commit 0748c695df
1 changed files with 9 additions and 1 deletions

View File

@ -41,7 +41,8 @@
guix-location-list-mode-map
guix-hydra-build-list-mode-map
guix-hydra-build-info-mode-map
guix-build-log-mode-map))
guix-build-log-mode-map
guix-service-list-mode-map))
(defmacro evil-collection-guix-set (map)
"Set common bindings in MAP."
@ -211,6 +212,13 @@
"ZQ" 'evil-quit
"ZZ" 'quit-window)
(evil-collection-guix-set guix-service-list-mode-map)
(evil-collection-define-key 'normal 'guix-service-list-mode-map
(kbd "<tab>") 'forward-button
(kbd "<return>") 'bui-list-describe
"gd" 'guix-service-list-edit)
(evil-collection-define-key 'normal 'guix-devel-mode-map
;; repl
"gz" 'guix-switch-to-repl))