Replace counsel-M-x command in eaf-layer

Counsel is specific to Ivy, the universal M-x command is
`execute-extended-command`.
This commit is contained in:
Daniel Nicolai 2021-05-09 00:10:37 +02:00 committed by Maximilian Wolff
parent 8adebd9757
commit 72127a49cb

View file

@ -211,7 +211,7 @@
(setq browse-url-browser-function 'eaf-open-browser)
(eaf-setq eaf-browser-enable-adblocker "true")
(define-key eaf-mode-map* (kbd "C-SPC C-SPC") 'counsel-M-x)
(define-key eaf-mode-map* (kbd "C-SPC C-SPC") 'execute-extended-command)
;;;; TODO need to consider the current pdf view mode which does not need to be pdf view mode
(spacemacs/set-leader-keys-for-major-mode 'pdf-view-mode "E" 'spacemacs/open-with-eaf)
(add-to-list 'evil-evilified-state-modes 'eaf-pdf-outline-mode)))