diff options
| author | Frank Fischer <frank.fischer@mathematik.tu-chemnitz.de> | 2013-08-13 07:57:24 +0200 |
|---|---|---|
| committer | Frank Fischer <frank.fischer@mathematik.tu-chemnitz.de> | 2013-08-13 07:57:24 +0200 |
| commit | 21d6a2644a6734476c4370121334ff61e7edb631 (patch) | |
| tree | c9f8737b36064554aa8fb0ad72326dbe9819b08f /evil-integration.el | |
| parent | 8fa64429910abe4cb07acd3c0d2847489684b4a9 (diff) | |
Add integration code for `company`.
Diffstat (limited to 'evil-integration.el')
| -rw-r--r-- | evil-integration.el | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/evil-integration.el b/evil-integration.el index 4892369..a82294a 100644 --- a/evil-integration.el +++ b/evil-integration.el @@ -263,6 +263,26 @@ ;; Finish repeation (evil-repeat-finish-record-changes)))))) +;;; Company +(eval-after-load 'company + '(progn + (mapc #'evil-declare-change-repeat + '(company-complete-mouse + company-complete-selection + company-complete-common)) + + (mapc #'evil-declare-ignore-repeat + '(company-abort + company-select-next + company-select-previous + company-select-next-or-abort + company-select-previous-or-abort + company-select-mouse + company-show-doc-buffer + company-show-location + company-search-candidates + company-filter-candidates)))) + ;; Eval last sexp (defadvice preceding-sexp (around evil activate) "In normal-state, last sexp ends at point." |
