vim-highlightedyank icon indicating copy to clipboard operation
vim-highlightedyank copied to clipboard

Sound/Error bell played on yank

Open wcpines opened this issue 7 years ago • 7 comments

In my .vimrc I have disabled error bells and visual bells. But when this plugin is enabled, a bell/chirp plays when I yank something. Any suggestions for how to turn it off?

Setup:

  • Mac OSX Sierra (10.12.5)
  • Terminal.app
  • neovim v0.2.0

wcpines avatar Jul 06 '17 16:07 wcpines

Hi. Does it happen always when you yank? Or, in any particular case? For example, only when you yank in visual mode.

machakann avatar Jul 07 '17 15:07 machakann

Hey @machakann thanks for the quick reply. Currently it happens for any invocation of yank.

Fwiw, the only setting I'd adjusted is

let g:highlightedyank_highlight_duration=250

wcpines avatar Jul 07 '17 15:07 wcpines

Thank you! I will check.

machakann avatar Jul 07 '17 15:07 machakann

Hi, I tried but I couldn't reproduce the problem... If you don't mind, could you show me your vim settings which reproduces the problem in your environment?

machakann avatar Jul 08 '17 17:07 machakann

Do you mean my vimrc? If so, the most recent version is on my github, viewable here.

wcpines avatar Jul 08 '17 20:07 wcpines

Sorry for my long silence.

I have tried to check but I couldn't reproduce the problem. As far as I observed, it seems not the conflict with other plugins. However, actually, I don't have macOS, thus I couldn't check the exactly same environment. It may be caused by OS or terminal settings.

machakann avatar Aug 06 '17 03:08 machakann

@machakann, no worries. I have a feeling it's some weird combination of macOS, Terminal app, and the plugin. If I find a solution I'll post here

wcpines avatar Aug 08 '17 03:08 wcpines