Monday, October 12, 2020

Re: [HINT]: ctags is not working for me

On 2020-10-13, Kunal Chauhan wrote:
> a quick search of the web, I found that the causes of that
> problem include using a non-English (perhaps non-US) keyboard, or
> something remapping Ctrl-].
> Does it work to search for the tag from your keyboard?  That is, try
> executing
>     :tag somekeyword
> That should tell us if tags work at all and if the problem might be
> with the Ctrl-] key combination.
> You might try entering insert mode, typing Ctrl-V, then typing
> Ctrl-], and seeing what appears.  You should see
>     ^]
> usually in blue.  Also, executing
>     :map <C-]>
> will show you any mappings of that key.  
>
>
>
> Thanks garry.  tags are working fine . but when I press ctrl-]  it wil show  [ 
>     in mapping of  ctrl ] it is showing d option but that is not working for
> me. 

Hi Kunal,

I'm glad that much is working.

Under ":help map-listing in my Vim version 8.2.1704, there is no 'd'
option, so I don't know what you mean by that.

But, if when you type Ctrl-V Ctrl-] it shows [, then that may point
to the problem. Try executing this

:map Ctrl-V Ctrl-] <C-]>

where Ctrl-V and Ctrl-] are those literal keys. In other words,
type

:map

and a space, followed by the keys Ctrl-V and Ctrl-] followed by
another space, then the five characters

<C-]>

and hit Enter. That should map whatever your keyboard generates
when you type Ctrl-] to Vim's Ctrl-] command. After doing that,
typing Ctrl-] should jump to the tag.

Regards,
Gary

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20201012232300.GC26885%40phoenix.

No comments: