aboutsummaryrefslogtreecommitdiff
path: root/.config/emacs/lisp/evil-collection/modes/company/README.org
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2026-07-05 01:19:30 -0400
committerJack Jamison <jackqjamison@gmail.com>2026-07-05 01:19:30 -0400
commitbdf9a71ab7baa2b1de9abcfd5df1a9107a55d141 (patch)
treec4524e6c41aa5107211103401dabfaefc81aa882 /.config/emacs/lisp/evil-collection/modes/company/README.org
parentfe3984f541bd32bdfa418afb305b614176b55ca0 (diff)
add a bunch of emacs packages HELP
Diffstat (limited to '.config/emacs/lisp/evil-collection/modes/company/README.org')
-rw-r--r--.config/emacs/lisp/evil-collection/modes/company/README.org51
1 files changed, 51 insertions, 0 deletions
diff --git a/.config/emacs/lisp/evil-collection/modes/company/README.org b/.config/emacs/lisp/evil-collection/modes/company/README.org
new file mode 100644
index 0000000..22c1d84
--- /dev/null
+++ b/.config/emacs/lisp/evil-collection/modes/company/README.org
@@ -0,0 +1,51 @@
+* company
+
+ Evil bindings for [[https://github.com/company-mode/company-mode][company-mode]].
+ Bindings are installed without an explicit state so they apply whenever the
+ company overlay is active.
+
+** company-active-map
+
+ | Command | Original | Evil |
+ |------------------------------------+----------+-------------------------------------|
+ | =company-select-next-or-abort= | =C-n= | =C-n=, =C-j= |
+ | =company-select-previous-or-abort= | =C-p= | =C-p=, =C-k= |
+ | =company-select-next= | n/a | =M-j= |
+ | =company-select-previous= | n/a | =M-k= |
+ | =company-previous-page= | =M-<= | =C-u= (when =evil-want-C-u-scroll=) |
+ | =company-next-page= | =M->= | =C-d= (when =evil-want-C-d-scroll=) |
+
+ With =evil-collection-want-company-extended-keybindings= (vim's =C-x ...=
+ completion family):
+
+ | Command | Evil |
+ |---------------------------------------+-------|
+ | =evil-collection-company-whole-lines= | =C-l= |
+ | =company-etags= | =C-]= |
+ | =company-files= | =C-f= |
+ | =company-capf= | =C-o= |
+ | =company-ispell= | =C-s= |
+
+** company-search-map
+
+ | Command | Original | Evil |
+ |------------------------------------+----------+------------|
+ | =company-select-next-or-abort= | =C-n= | =C-j= |
+ | =company-select-previous-or-abort= | =C-p= | =C-k= |
+ | =company-select-next= | n/a | =M-j= |
+ | =company-select-previous= | n/a | =M-k= |
+ | =company-search-abort= | =C-g= | =<escape>= |
+
+** New commands
+
+ | Command | Purpose |
+ |---------------------------------------+------------------------------------------------|
+ | =evil-collection-company-whole-lines= | Whole-line completion backend (vim =C-x C-l=). |
+
+** Customization
+
+ | Variable | Default | Purpose |
+ |-----------------------------------------------------+--------------------------+--------------------------------------------------------------------------------------------------|
+ | =evil-collection-company-supported-states= | =(insert replace emacs)= | Evil states in which company is allowed to pop up. |
+ | =evil-collection-want-company-extended-keybindings= | =nil= | Enable the vim-style =C-x= completion bindings above. |
+ | =evil-collection-company-enable-keymap-protection= | =t= | Re-install =company-active-map= after =company-doc-buffer= et al. so evil does not eat the keys. |