C-c C-l fires
C-c & fires
Is there a simple way to automatically close the opened buffer when just looking at at file? (as the opened buffer replaces another buffer in the chosen window)
merlin-locate opens the .mli while I may want to open the .ml (this can be changed, but then it will always open .ml).
Using C-c C-a (
tuareg-find-alternate-file) allows to alternate ml/mli . It would be enough but it positions the cursor at the beginning of the file, which requires an additional search.
If I browse inside my own program, I would like to jump from .ml to .ml .
If I browse libraries used by my program, I would like to open library .mli first, then dig into its .ml, if necessary.
If I want to dig down into the library funtion of the library function, I would like to stay in the same (Emacs) window not to get a bunch of buffers opened. And get buffers automatically closed/killed when doing merlin-pop-stack to avoid burden.
Can you share your merlin and tuareg best practices for Emacs and some ~/.emacs configuration that allow to use merlin more smoothly, or as I quickly describe?