fzf.vim
fzf.vim copied to clipboard
Popup crashes when you use `*` to highlight word under cursor
- [x] I have fzf 0.30.0 or above
- [x] I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md
- [x] I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md
- [x] I have read through the manual page of fzf (
man fzf) - [x] I have searched through the existing issues
I actually can't replicate this issue with minimal configuration, and I can't figure out what my setting is causing this issue,
but when I have a word highlighted using *, and try to open any fzf pop (Files/ Rg / Find reference etc.), it shows an invisible popup, which gets stuck. And I can't close the popup as well.
This is all I have configured for vim-fzf
set rtp+=~/.fzf
let $FZF_DEFAULT_OPTS="--layout=reverse --bind ctrl-k:preview-up,ctrl-j:preview-down"
let $FZF_DEFAULT_COMMAND='rg --files --follow --no-ignore-vcs --hidden -g "!{node_modules/*,.git/*}"'
let g:fzf_layout={'window':{ 'width': 0.9, 'height': 0.6 }}
let g:fzf_preview_window = ['right:60%:hidden','?']
let g:fzf_action = {
\ 'ctrl-t': 'tab split',
\ 'ctrl-o': 'split',
\ 'ctrl-v': 'vsplit' }
command! Ctrlp execute len(FugitiveHead()) > 0 ? ':GFiles' : ':Files'
nnoremap <silent> <C-p> :Ctrlp<CR>
nnoremap <silent> <C-e> :History<CR>
nnoremap <Leader>f :Rg<space>
vnoremap <Leader>f y:Rg <c-r>"<cr>
nnoremap <Leader>F :Rg <c-r><c-w><cr>
nnoremap <Leader>@ :BCommits<cr>
autocmd! FileType fzf
autocmd! FileType fzf tnoremap <buffer> <esc> <c-c>
autocmd FileType fzf set laststatus=0 noshowmode noruler
\| autocmd BufLeave <buffer> set laststatus=2 showmode ruler
When I try to :Files when this happens, i get this warning below:
This is how it looks like (invisible popup)
