Enable C-p - hippie-expand only in vim style
This commit is contained in:
parent
18874c9a3e
commit
7863cf1613
|
@ -168,7 +168,8 @@
|
||||||
(defun auto-completion/init-hippie-exp ()
|
(defun auto-completion/init-hippie-exp ()
|
||||||
;; replace dabbrev-expand
|
;; replace dabbrev-expand
|
||||||
(global-set-key (kbd "M-/") 'hippie-expand)
|
(global-set-key (kbd "M-/") 'hippie-expand)
|
||||||
(define-key evil-insert-state-map (kbd "C-p") 'hippie-expand)
|
(when (eq dotspacemacs-editing-style 'vim)
|
||||||
|
(define-key evil-insert-state-map (kbd "C-p") 'hippie-expand))
|
||||||
(setq hippie-expand-try-functions-list
|
(setq hippie-expand-try-functions-list
|
||||||
'(
|
'(
|
||||||
;; Try to expand word "dynamically", searching the current buffer.
|
;; Try to expand word "dynamically", searching the current buffer.
|
||||||
|
|
Loading…
Reference in a new issue