Guix/Evil: Fix manifest bindings for insert state.
parent
8fd3afe58b
commit
8c51e94c98
|
@ -108,7 +108,8 @@ If MANIFEST is nil, it is queried from the manifests found in `ambrevar/guix-man
|
|||
(global-set-key (kbd "C-x c g") #'ambrevar/guix-edit-manifest)
|
||||
(with-eval-after-load 'evil
|
||||
;; For some reason `global-set-key' does not work for Evil at this point.
|
||||
(evil-global-set-key 'normal (kbd "C-x c g") #'ambrevar/guix-edit-manifest))
|
||||
(dolist (mode '(normal insert))
|
||||
(evil-global-set-key mode (kbd "C-x c g") #'ambrevar/guix-edit-manifest)))
|
||||
|
||||
(defun ambrevar/guix-save-channel-specs (dest)
|
||||
"Save current Guix channel specification to DEST."
|
||||
|
@ -175,7 +176,8 @@ non-nil, then try to use a channel specification file from
|
|||
manifest-name)))))
|
||||
(global-set-key (kbd "C-x c G") #'ambrevar/guix-install-manifest)
|
||||
(with-eval-after-load 'evil
|
||||
(evil-global-set-key 'normal (kbd "C-x c G") #'ambrevar/guix-install-manifest))
|
||||
(dolist (mode '(normal insert))
|
||||
(evil-global-set-key mode (kbd "C-x c G") #'ambrevar/guix-install-manifest)))
|
||||
|
||||
;; TODO: See `guix-apply-manifest' and expand on it.
|
||||
;; TODO: Use --max-jobs=N.
|
||||
|
|
Loading…
Reference in New Issue