fish-shell / fish-shell/fish-shell

Unexpected behavior when using fzf in vim

Open
#6,692 27 comments 0 reactions 1 assignee Claimed by @ridiculousfish View on GitHub
bug
Dominant language
Rust
Stars
34.2k
Forks
2.4k
Avg merge
2d 8h
Merged PRs (30d)
13

Description

fish: 3.1.0
Darwin jprdgy.local 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64
tmux-256color

There's a weird behavior when using `fzf` in vim.

When I'm trying to open fzf inside vim, I can type the letters but the search does not start. As you can see in the asciinema, I'm trying to press Esc but a repeated `^[` is just appearing, so I have to press Ctrl-c an re-run the search again. I do several attempts until I can type and search.

[![asciicast](https://asciinema.org/a/2PtASVMpGvamM7j9j4V4nncnn.svg)](https://asciinema.org/a/2PtASVMpGvamM7j9j4V4nncnn)

This only happens when using fish `3.1.0`. I've tried downgrading to `3.0.2` and this doesn't happen.

[![asciicast](https://asciinema.org/a/5E2L45ZPico5Yc9tJCDdkWnqV.svg)](https://asciinema.org/a/5E2L45ZPico5Yc9tJCDdkWnqV)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.