Skip to content

Conversation

@iaalm
Copy link

@iaalm iaalm commented Mar 9, 2022

Hi, I use fzf.vim on Windows with ambiwidth=single. When I run any long operations like "Rg", my vim keeps bell and there's no way to disable it from vim side. It's quite annoying. It also doesn't matter whether I use cmd or powershell. I find it related to this issue because I don't see the spinner characters. Instead I see characters like "&" or "8" and the bell has same rhythm with the chars.
Screenshot

My suggestion is to add "--no-unicode" to all windows machine. Or maybe we can add a flag to disable spinner chars only?
Tested on Windows 11, gVim 8.2.

@junegunn
Copy link
Owner

junegunn commented Aug 3, 2022

I'm not really a Windows user, so it's hard to tell if it's the right call to disable it altogether. Some systems are capable of properly rendering the spinner (see junegunn/fzf#2631).

I'd suggest that you set it in your $FZF_DEFAULT_OPTS for the moment until we find a better way.

" In your vimrc
if has('win32') || has('win64')
  let $FZF_DEFAULT_OPTS = '--no-unicode'
endif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants