Reputation: 35
In OCaml's utop, I can use alt+left or alt+right to move through autocomplete sections, but when I click tab to autocomplete the first selection is used. What do I do?
Upvotes: 1
Views: 196
Reputation: 246
You can complete with the current selection with alt+down
.
If you type in #utop_bindings;;
, you can see all keybindings.
You may also customize your bindings by creating a ~/.lambda-term-inputrc
-file, for example:
[read-line]
tab: complete-bar
See: https://github.com/ocaml-community/utop#key-bindings
Upvotes: 5