I'm having a heck of a time optimizing my desired \cite
behavior when writing LaTeX source in emacs using helm-bibtex. I made a C-c [
key-binding to get helm-bibtex going when I want to insert a citation:
(autoload 'helm-bibtex "helm-bibtex" "" t)
(global-set-key (kbd "C-c [") 'helm-bibtex-with-local-bibliography)
What I want then is once I press C-c [
, I want to start typing the name of a bib key, and when the entry is highlighted, I want to press Enter
and it should insert the block \cite{mykey}
into the text.
However the current process is so inefficient, I have to do C-c [
, start typing until entry is highlighted, press F3
, and then it asks me which kind of citation command I want where cite
is the default, then it asks for "prenotes", then "postnotes", then FINALLY it inserts the cite block.
How do I get the behavior described first where I just press enter and it inserts cite block, instead of having to press a function key and Enter
3 times?