mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 12:44:24 +08:00
[RG] Use 'cd .' as the dummy command on Windows
This commit is contained in:
@@ -938,7 +938,7 @@ function! fzf#vim#grep2(command_prefix, query, ...)
|
||||
let name = join(words, '-')
|
||||
let fallback = s:is_win ? '' : ' || :'
|
||||
let opts = {
|
||||
\ 'source': ':',
|
||||
\ 'source': s:is_win ? 'cd .' : ':',
|
||||
\ 'options': ['--ansi', '--prompt', toupper(name).'> ', '--query', a:query,
|
||||
\ '--disabled',
|
||||
\ '--bind', 'start:reload:'.a:command_prefix.' '.fzf#shellescape(a:query),
|
||||
|
||||
Reference in New Issue
Block a user