Delay when shift-selecting in neovim
Opened this issue · 4 comments
I see a delay when I use this plugin from neovim to paste some text from the screen.
To reproduce:
- Edit some file in neovim
- Enter insert mode with
i
- Hit
ctrl-space
shift-
select an item e.g. withshift-s
It takes about 5 seconds before the text is inserted. During that time I can see the Copied <whatever was selected>
message in the tmux status line.
I've already applied the settings from troubleshooting:
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence on
I don't have the issue outside of vim.
I'll try it. Meanwhile can you try to change you thumbs-command
and remove the display message part?
Just to know that this decorative message is adding some unknown delay.
Also I don't understand this step tou follow:
"ctrl- select an item e.g. with ctrl-s"
To select a hint and immediately paste it I usually use a uppercase letters.
I've tried set -g @thumbs-upcase-command 'tmux set-buffer -- {} && tmux paste-buffer'
and it really seems to solve the issue, thanks. So not sure if there's anything left to solve. It seems tmux always pauses with display-message
.
Also I don't understand this step tou follow:
Right, sorry. I wrote this issue from memory and got confused with ctrl/shift. I was actually using the shift key (description above fixed).
Sidenote: How about including an overview of all key shortcuts just like tmux-fingers has it? I always had to check their page when I started testing this plugin.
Nice! I'll take this into account. Maybe we can run the display message in fire and forget mode. I'll try it.
About the list of keys, I'll do it. Really nice to have it. 💯