company: disable C-w
This commit is contained in:
parent
ff72c689ca
commit
b05d099886
2 changed files with 4 additions and 4 deletions
|
@ -41,6 +41,8 @@
|
||||||
evil-complete-next-func 'narf/company-evil-complete-next
|
evil-complete-next-func 'narf/company-evil-complete-next
|
||||||
evil-complete-previous-func 'narf/company-evil-complete-previous)
|
evil-complete-previous-func 'narf/company-evil-complete-previous)
|
||||||
|
|
||||||
|
(define-key company-active-map (kbd "C-w") nil)
|
||||||
|
|
||||||
(shut-up!
|
(shut-up!
|
||||||
(setq company-statistics-file (! (concat narf-temp-dir "company-statistics-cache.el")))
|
(setq company-statistics-file (! (concat narf-temp-dir "company-statistics-cache.el")))
|
||||||
(require 'company-statistics)
|
(require 'company-statistics)
|
||||||
|
|
|
@ -235,13 +235,11 @@
|
||||||
[tab] 'company-complete
|
[tab] 'company-complete
|
||||||
"<backtab>" 'company-select-previous
|
"<backtab>" 'company-select-previous
|
||||||
[escape] 'company-abort
|
[escape] 'company-abort
|
||||||
"<C-return>" 'helm-company
|
"<C-return>" 'helm-company)
|
||||||
:unset "C-w")
|
|
||||||
(:map company-search-map
|
(:map company-search-map
|
||||||
"C-n" 'company-search-repeat-forward
|
"C-n" 'company-search-repeat-forward
|
||||||
"C-p" 'company-search-repeat-backward
|
"C-p" 'company-search-repeat-backward
|
||||||
[escape] 'company-abort
|
[escape] 'company-abort))
|
||||||
:unset "C-w"))
|
|
||||||
|
|
||||||
(:after help-mode
|
(:after help-mode
|
||||||
(:map help-mode-map
|
(:map help-mode-map
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue