About the rebinding of SPC to close the company popup in ora-company.el.
hongyi-zhao opened this issue · 0 comments
hongyi-zhao commented
Based on your wonderful blog here, I find your very distinctive company
configuration, i.e., ora-company.el
. But I've some questions about the configuration used in this file, as described below:
- In the above configuration, you use the following setting for remapping
SPC
to close the company popup:
Lines 49 to 52 in d2b2cd8
But based on my tries, the following configuration for company will achieve the same purpose:
:bind
( :map company-active-map
("SPC" . company-complete-selection))
So, I want to know why you use this more complicated code snippet.
- Why do you unbind RET with the following code?
Line 53 in d2b2cd8
- Is it possible to implement a regexp based candidates selection algorithm/feature for the entries shown on the company popup?
Regards,
HY