[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master bb8aa8b 04/10: company-search-map: Include <up> and <down>
From: |
Dmitry Gutov |
Subject: |
[elpa] master bb8aa8b 04/10: company-search-map: Include <up> and <down> bindings |
Date: |
Mon, 02 Feb 2015 15:23:08 +0000 |
branch: master
commit bb8aa8bf783adbde93734c7569c1a478e34708c2
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
company-search-map: Include <up> and <down> bindings
#292
---
NEWS.md | 4 ++++
company.el | 2 ++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/NEWS.md b/NEWS.md
index 4139186..aa98b51 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,5 +1,9 @@
# History of user-visible changes
+## Next
+
+* Pressing `<up>` or `<down>` doesn't quit the search mode.
+
## 2015-01-23 (0.8.9)
* New commands `company-next-page` and `company-previous-page`, remapping
diff --git a/company.el b/company.el
index 38757aa..0352ac9 100644
--- a/company.el
+++ b/company.el
@@ -1710,6 +1710,8 @@ from the rest of the back-ends in the group, if any, will
be left at the end."
(define-key keymap (vector meta-prefix-char t) 'company-search-other-char)
(define-key keymap (kbd "M-n") 'company-select-next)
(define-key keymap (kbd "M-p") 'company-select-previous)
+ (define-key keymap (kbd "<down>") 'company-select-next-or-abort)
+ (define-key keymap (kbd "<up>") 'company-select-previous-or-abort)
(define-key keymap "\e\e\e" 'company-search-other-char)
(define-key keymap [escape escape escape] 'company-search-other-char)
(define-key keymap (kbd "DEL") 'company-search-delete-char)
- [elpa] master updated (089d51a -> c5538df), Dmitry Gutov, 2015/02/02
- [elpa] master a015fb3 09/10: Bump the version, Dmitry Gutov, 2015/02/02
- [elpa] master 08ec4cd 03/10: Add a comment, Dmitry Gutov, 2015/02/02
- [elpa] master bb8aa8b 04/10: company-search-map: Include <up> and <down> bindings,
Dmitry Gutov <=
- [elpa] master 1b0dc62 06/10: company-search-map: Add company-complete-number bindings, Dmitry Gutov, 2015/02/02
- [elpa] master 10a7750 05/10: Track the current selection better, Dmitry Gutov, 2015/02/02
- [elpa] master b2de6ad 02/10: Fix version, Dmitry Gutov, 2015/02/02
- [elpa] master 94f2459 07/10: Use mode-line format in company-lighter, Dmitry Gutov, 2015/02/02
- [elpa] master 6fcbcfa 08/10: Pass company-lighter-base to company--group-lighter explicitly, Dmitry Gutov, 2015/02/02
- [elpa] master 3716acb 01/10: Enable company-search-map in company-search-mode body, Dmitry Gutov, 2015/02/02
- [elpa] master c5538df 10/10: Merge commit 'a015fb350abe50d250e3e7a9c3c762397326977f' from company, Dmitry Gutov, 2015/02/02