On 14.08.17 19:23, Jose Caballero wrote:
> I am working on a host that didn't have ctags installed. I have just
> installed it.
The install order won't make any difference. Vim only needs to find a
tags file you've generated.
> However, I think I am missing some step.
> After creating the tags file, opening a file with VIM and hitting
> CTRL+] on a string, it does not jump to the file with the definition.
> It just gives me a comment like
>
> "tag 1 of 20 or more"
I've never seen that response, so can only offer general ideas, based on
what has always worked for me.
> It is not a problem with the path, as I do first
>
> :set path+=**
>
> Same tree directory on a different host with same version of VIM, but
> ctags installed, works fine. CTRL+] gives me a list of options from
> the tags files, asking me to type the number (index) I want.
As it's the same directory structure, what happens if you copy the tags
file over, instead of generating it? (Oh, **, multiple tag files. Even
so.) Alternatively, install the new ctags on the working host, in a
different path, and use it to overwrite the working tags files, if
that's quicker.
Are the ctags executables identical? (I've tended to use "exhuberant
ctags", though the choice was made so many decades ago that I can't
recall the basis. The plain version wasn't as appealing, though.)
> Any hint? What are the key words I should use to search for the
> solution myself in google or the :help?
It sounds to me like the uncooperative response has to be due to
different tags files, as the Vim instances are identical.
Limited help, I'm afraid, but it's assumption-testing time. ;-)
Erik
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment