company: disable C-w

This commit is contained in:
Henrik Lissner 2015-08-01 14:40:19 +02:00
parent ff72c689ca
commit b05d099886
2 changed files with 4 additions and 4 deletions

View file

@ -41,6 +41,8 @@
evil-complete-next-func 'narf/company-evil-complete-next
evil-complete-previous-func 'narf/company-evil-complete-previous)
(define-key company-active-map (kbd "C-w") nil)
(shut-up!
(setq company-statistics-file (! (concat narf-temp-dir "company-statistics-cache.el")))
(require 'company-statistics)

View file

@ -235,13 +235,11 @@
[tab] 'company-complete
"<backtab>" 'company-select-previous
[escape] 'company-abort
"<C-return>" 'helm-company
:unset "C-w")
"<C-return>" 'helm-company)
(:map company-search-map
"C-n" 'company-search-repeat-forward
"C-p" 'company-search-repeat-backward
[escape] 'company-abort
:unset "C-w"))
[escape] 'company-abort))
(:after help-mode
(:map help-mode-map