ocaml / merlin

Context sensitive completion for OCaml in Vim and Emacs
https://ocaml.github.io/merlin/
MIT License
1.57k stars 233 forks source link

emacs mode + company mode, manual completion selection + tab should complete #281

Closed dbuenzli closed 9 years ago

dbuenzli commented 9 years ago

That's an interaction I very often fail. I complete with S-tab, then select a completion in the list and then simply hit tab and nothing happens. You have to do a S-tab again to actually enter the completion. I think simply hitting tab should also enter it.

trefis commented 9 years ago

I think you chose the wrong bugtracker for this one. https://github.com/company-mode/company-mode

dbuenzli commented 9 years ago

Ok thanks, it's sometime hard to know who controls what in the system.

let-def commented 9 years ago
(define-key company-active-map [tab] 'company-complete-selection)
(define-key company-active-map (kbd "TAB") 'company-complete-selection)
dbuenzli commented 9 years ago

Le vendredi, 24 octobre 2014 à 06:09, def-lkb a écrit :

(define-key company-active-map [tab] 'company-complete-selection)

Yes ! Thanks.

Daniel