SLIME: Bind M-<tab> to helm-company

master
Pierre Neidhardt 2019-01-11 10:58:45 +01:00
parent 48d44690e5
commit 5f08f9eb83
1 changed files with 2 additions and 1 deletions

View File

@ -157,7 +157,8 @@
(define-key slime-autodoc-mode-map (kbd "C-c C-d C-a") 'helm-slime-apropos)
(define-key slime-repl-mode-map (kbd "C-c C-x c") 'helm-slime-list-connections)
(when (require 'company nil t)
(define-key slime-repl-mode-map (kbd "<tab>") 'helm-company)))
(dolist (key '("M-<tab>" "<tab>"))
(define-key slime-repl-mode-map (kbd key) 'helm-company))))
(add-hook 'slime-repl-mode-hook 'ambrevar/helm/slime-set-keys))))
;;; TODO: Use helm-ff history in helm file completion.