tmux-plugins / tmux-yank

Tmux plugin for copying to system clipboard. Works on OSX, Linux and Cygwin.
https://tmux-plugins.github.io/tmux-yank/
MIT License
2.72k stars 122 forks source link

Yank to zsh commandline is not working with vi-mode #139

Open jandamm opened 4 years ago

jandamm commented 4 years ago

I'm using zsh with vi keybindings for my prompt. When I use Y to copy text and paste it to the current prompt it does not work as expected.

When I'm in insert mode everything is fine. When I'm in normal mode the text gets butchered (because tmux-yank does not enter insert mode)

I can work around this issue but it would be nice if tmux-yank would check if the prompt is in normal mode and enter insert mode.

bruno- commented 3 years ago

I think this is a related issue: https://github.com/tmux-plugins/tmux-yank/issues/107