junegunn / junegunn/fzf.vim

Double tilde on gVim when executing History

Open
#1,018 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 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
- [ ] I have read through the manual page of fzf (`man fzf`)
- [ ] I have searched through the existing issues

FZF version - 0.21.1 (334a4fa)
fzf.vim - commit = '3925db8' (from PlugSnapshot)

I'm using fzf.vim with fzf on gVim on Windows 10.

When I first open gVim on an empty buffer and exec `History`, the directory paths have double tilde signs eg `~/~/something.txt` instead of `~/something.txt`.
![image](https://user-images.githubusercontent.com/4055444/81387130-8b18da00-9159-11ea-835c-85db0820ee7a.png)

But if I open another file and exec `History` again, the file paths have single tilde `~/something.txt`.
![image](https://user-images.githubusercontent.com/4055444/81387091-79cfcd80-9159-11ea-9ee8-de3f01260fd3.png)

I have neovim on the same machine that's using the exact config file but it doesn't happen on neovim. Neovim seems to use explicit paths.
![image](https://user-images.githubusercontent.com/4055444/81387260-bc91a580-9159-11ea-84d1-edfce33cb60b.png)

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.