diff --git a/layers/auto-completion/packages.el b/layers/auto-completion/packages.el index b274356a6..e7fed4bc7 100644 --- a/layers/auto-completion/packages.el +++ b/layers/auto-completion/packages.el @@ -168,8 +168,7 @@ (defun auto-completion/init-hippie-exp () ;; replace dabbrev-expand (global-set-key (kbd "M-/") 'hippie-expand) - (when (eq dotspacemacs-editing-style 'vim) - (define-key evil-insert-state-map (kbd "C-p") 'hippie-expand)) + (define-key evil-insert-state-map [remap evil-complete-previous] 'hippie-expand) (setq hippie-expand-try-functions-list '( ;; Try to expand word "dynamically", searching the current buffer.