diff --git a/neovim/init.vim b/neovim/init.vim index 64d32c2..838be09 100644 --- a/neovim/init.vim +++ b/neovim/init.vim @@ -113,7 +113,7 @@ map ;x :x set wildignore+=*.swp,*~ map ;b :Buffers -map ;f :call fzf#run({'source': 'rg --files --hidden', 'sink': 'e'}) +map ;f :call fzf#run({'source': 'rg --files --hidden', 'sink': 'e', options: '--multi'}) function! s:escape(path) return substitute(a:path, ' ', '\\ ', 'g') @@ -130,12 +130,12 @@ endfunction map ;g :call fzf#run({ \ 'source': 'rg --vimgrep --no-heading --smart-case --hidden --regexp '.shellescape(input('Pattern: ')), \ 'sink': function('RgHandler'), -\ 'options': '+m', +\ 'options': '--multi', \}) map ;* :call fzf#run({ \ 'source': 'rg --vimgrep --no-heading --smart-case --hidden --regexp '.shellescape(expand('')), \ 'sink': function('RgHandler'), -\ 'options': '+m', +\ 'options': '--multi', \}) command ALEOff :let b:ale_fix_on_save = 0