summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-11-11 13:48:20 -0500
committerAmin Bandali <bandali@gnu.org>2019-11-11 13:48:20 -0500
commitd39234b9cad8e19828b2b05735e5b11c75d6e0ec (patch)
treef891719954981bf9c3cf9079a3f3c45a5c4c6956
parent27113bb88645bad3c0eb744f56e87b36922ff119 (diff)
downloadconfigs-d39234b9cad8e19828b2b05735e5b11c75d6e0ec.tar.gz
configs-d39234b9cad8e19828b2b05735e5b11c75d6e0ec.tar.xz
configs-d39234b9cad8e19828b2b05735e5b11c75d6e0ec.zip
emacs: company: use C-p and C-n for selecting prev and next
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 9fda569..8036cf2 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1325,7 +1325,9 @@ This function is intended for use with `ivy-ignore-buffers'."
:bind
(:map company-active-map
([tab] . company-complete-common-or-cycle)
- ([escape] . company-abort))
+ ([escape] . company-abort)
+ ("C-p" . company-select-previous-or-abort)
+ ("C-n" . company-select-next-or-abort))
:custom
(company-minimum-prefix-length 1)
(company-selection-wrap-around t)