[emacs/company] allow abort with esc
authorAmin Bandali <bandali@gnu.org>
Tue, 30 Oct 2018 03:33:16 +0000 (23:33 -0400)
committerAmin Bandali <bandali@gnu.org>
Tue, 30 Oct 2018 03:33:16 +0000 (23:33 -0400)
init.org

index 5ead731..e4c7a1e 100644 (file)
--- a/init.org
+++ b/init.org
@@ -1065,7 +1065,8 @@ TODO: break this giant source block down into individual org sections.
   :defer 5
   :bind
   (:map company-active-map
-        ([tab] . company-complete-common-or-cycle))
+        ([tab]    . company-complete-common-or-cycle)
+        ([escape] . company-abort))
   :custom
   (company-idle-delay 0.3)
   (company-minimum-prefix-length 1)