-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using gd to jump to the bibliography enty in the same file #2164
Comments
Good question. However, it would be much easier to reply if you can provide an example LaTeX file (not too large). When your bib entries are in a
Thanks, glad to hear it! |
Thanks a lot~! Below is a sample latex file. \documentclass[a4paper,12pt]{article}
\usepackage{amsmath}
\title{How to use `gd' to jump to reference entry?}
\author{}
\date{}
\begin{document}
\maketitle
My cursor is over \cite{AF03}, by hitting `gd' in the normal mode, I wish the cursor could jump to line 25 of the document where the entry is defined.
\bigskip
Thanks a lot~!
\begin{thebibliography}{999}
\bibitem[AF03]{AF03}
Adams, Robert A. and John J. F. Fournier.
\newblock {\em Sobolev spaces}~(2$^{\text{nd}}$ ed.).
\newblock Elsevier/Academic Press, Amsterdam, 2003.
\bibitem[AF03]{AF90}
Adams, Robert A. and John J. F. Fournier.
\newblock {\em Sobolev spaces}~(1$^{\text{st}}$ ed.).
\newblock Elsevier/Academic Press, Amsterdam, 1990.
\end{thebibliography}
\end{document} |
Thanks for the sample.
VimTeX does enhance the I've updated the |
Thank you so much for the prompt help~! It works beautifully!!! |
Great, glad to hear it! |
Here I can use the key binding
gd
over \ref{...} or \eqref{...} to jump to the definition of the equation. But over \cite{...} when I hitgd
, it won't jump to the citation entry in the same file. I do not use separate file for bibliography. All bib entries are in the same latex file. I am wondering whether there is a quick way to jump to the bib entry?Thanks a lot! I really love vimtex and am using it in a daily base.
The text was updated successfully, but these errors were encountered: