junegunn / junegunn/fzf.vim

`:Tags` doesn't work with zipfiles

Open
#1,255 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- [x] I have fzf 0.23.0 or above
- [x] I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md
- [x] I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md
- [x] I have read through the manual page of fzf (`man fzf`)
- [x] I have searched through the existing issues

Neovim is able to open zip files via the following syntax:
```
nvim zipfile:/path/to/zip::/path/to/file.txt
```

That will open the file inside of the zip on vim. This behavior extends to tags, and as such you can have a tag with the following shape:

```
tagName zipfile:/path/to/zip.zip::/path/to/file.txt /search/
```

And it works! However, `:Tags` doesn't seem to behave correctly. The preview window simply shows `./zipfile not found` and when I try to open the tag anyways, it just opens a new buffer with the name `zipfile:/path/to/zip.zip::/path/to/file.txt`.

Expected Behavior:

`:Tags`'s preview windows shows the content of the file (like it would with any other tag) and opening the tag works like the normal `tag` command.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.