projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
27113bb
)
emacs: company: use C-p and C-n for selecting prev and next
author
Amin Bandali
<bandali@gnu.org>
Mon, 11 Nov 2019 18:48:20 +0000
(13:48 -0500)
committer
Amin Bandali
<bandali@gnu.org>
Mon, 11 Nov 2019 18:48:20 +0000
(13:48 -0500)
.emacs.d/init.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
9fda569
..
8036cf2
100644
(file)
--- 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)
: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)
:custom
(company-minimum-prefix-length 1)
(company-selection-wrap-around t)