Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmd-paste issue with MacVim #1233

Closed
5 tasks done
vbrinnel opened this issue Jan 27, 2021 · 5 comments
Closed
5 tasks done

Cmd-paste issue with MacVim #1233

vbrinnel opened this issue Jan 27, 2021 · 5 comments

Comments

@vbrinnel
Copy link

vbrinnel commented Jan 27, 2021

I have the following issue with newer versions of fzf in combination with MacVim:
Using the keystroke cmd-v during any command (Files, lines, ...)
results in +" being written instead of the register content.

fzf 0.24.3_0

fzf_0 24 3_0

fzf 0.25.0_0 (same vimrc)

FZF_0 25

Tested with MacVim versions: 8.1.2234, 8.2.319, 8.2.2164

Note that there is no issue with fzf 0.25.0_0 when using vim (8.2.2164) from the terminal.
fzf was installed and is managed by MacPorts.

@DenDos
Copy link

DenDos commented Jan 29, 2021

I also have this issue on both fzf 0.24.3_0 and fzf 0.25.0_0 using MacVim. When I use nvim it works fine though. Have tried to install fzf from brew and using git but the result was the same 😑

@vbrinnel
Copy link
Author

vbrinnel commented Mar 3, 2021

Fresh new install using homebrew, same issue.

fzf --version
0.25.1 (brew)

Since it is a pain to install previous versions of a package not installed previously using brew, you can do the following to fix the issue:

Copy the content of:
https://raw.githubusercontent.com/junegunn/fzf/0.24.3/plugin/fzf.vim

and paste the content here (replace):

/usr/local/opt/fzf/plugin/fzf.vim

You are basically modifying your v0.25.1 install manually.
The paste operation should work again, it does on my fresh install.
Note that the problem starts appearing with v0.24.4.

@JoeWoodward
Copy link

JoeWoodward commented Apr 5, 2021

Also having this issue.

MacVim 8.2.2576 installed with brew
fzf 0.26.0 installed with brew
fzf.vim latest version installed with minpac

@junegunn
Copy link
Owner

junegunn commented Apr 5, 2021

Related:

If we remove call setbufvar(fzf.buf, '&termwinkey', '<c-z>') line, CMD-V will work, but CTRL-W will stop working.
Any suggestion?

@benlieb
Copy link

benlieb commented Apr 21, 2021

Same problem

TylerSeanRau pushed a commit to TylerSeanRau/fzf that referenced this issue Jun 4, 2021
kralicky pushed a commit to kralicky/fzf that referenced this issue Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants