junegunn / junegunn/fzf.vim

Preview script fails with paths containing ':'

Open
#1,339 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

![image](https://user-images.githubusercontent.com/920910/138755050-8316e2a3-cba5-49b3-ba97-558c7356fae8.png)

Relevant line: https://github.com/junegunn/fzf.vim/blob/0452b71830b1a219b8cdc68141ee58ec288ea711/bin/preview.sh#L17

I don't see an obvious fix since fzf uses `:` as the parameter separator.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at bin/preview.sh line 17 and reproduce the failure with a path containing ':'. Trace how fzf passes the preview command and uses ':' as the parameter separator, then verify the resolved behavior with colon-containing paths and the existing preview behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell, vim
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.