Print tag folder in vim

-1

0

I got this line in my .vimrc so that it look i parent directories untill it find a tag file.

set tags=./tags; 

Is there a way to print the directory where vim found the tag file inside vim?

bemug

Posted 2015-12-02T15:27:31.097

Reputation: 218

Answers

1

In your .vimrc:

map <F7> :echo join(tagfiles(), ',')<CR>

Change <F7> to some currently unused key... check assignments with :nmap

user9645

Posted 2015-12-02T15:27:31.097

Reputation: 136