Skip to content

Commit 8c3c143

Browse files
author
Simone Gentili
committed
Added readme instruction for ComposerKnowWhereCurrentFileIs function
1 parent 1347ed8 commit 8c3c143

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ In this example after every `composer install` I exec a ctags generation
2929
This command open `composer.json`
3030

3131

32+
```vim
33+
:ComposerKnowWhereCurrentFileIs
34+
```
35+
This function aims to help you to load files without using ctag. Grep current word inside composer autogenerated files, and if only one occurrence is found, opens file in another tab. If zero or more occurrences are found, simply echoes a string to advice you. To use this in your .vimrc file, just remap function. For example you can use:
36+
map <F6> :call ComposerKnowWhereCurrentFileIs()<CR>
37+
38+
3239
## Install
3340
```vim
3441
Bundle 'vim-php/vim-composer'

0 commit comments

Comments
 (0)