fix helm layer broken with smex package
This commit is contained in:
parent
7638d4cc40
commit
2609538855
|
@ -69,7 +69,7 @@
|
|||
(unless (configuration-layer/package-used-p 'ibuffer)
|
||||
(evil-ex-define-cmd "buffers" 'helm-buffers-list))
|
||||
;; use helm by default for M-x, C-x C-f, and C-x b
|
||||
(unless (configuration-layer/package-used-p 'smex)
|
||||
(unless (configuration-layer/layer-usedp 'smex)
|
||||
(global-set-key (kbd "M-x") 'helm-M-x))
|
||||
(global-set-key (kbd "C-x C-f") 'spacemacs/helm-find-files)
|
||||
(global-set-key (kbd "C-x b") 'helm-buffers-list)
|
||||
|
@ -118,7 +118,7 @@
|
|||
;; to overwrite any key binding
|
||||
(add-hook 'emacs-startup-hook
|
||||
(lambda ()
|
||||
(unless (configuration-layer/package-used-p 'smex)
|
||||
(unless (configuration-layer/layer-usedp 'smex)
|
||||
(spacemacs/set-leader-keys
|
||||
dotspacemacs-emacs-command-key 'helm-M-x))))
|
||||
(helm-mode))
|
||||
|
|
Loading…
Reference in New Issue