diff --git a/README.md b/README.md index ce683dd..315b14d 100644 --- a/README.md +++ b/README.md @@ -176,7 +176,9 @@ You can use autoload functions to define your own commands. " Command for git grep " - fzf#vim#grep(command, with_column, [options], [fullscreen]) command! -bang -nargs=* GGrep - \ call fzf#vim#grep('git grep --line-number '.shellescape(), 0, 0) + \ call fzf#vim#grep( + \ 'git grep --line-number '.shellescape(), 0, + \ { 'dir': systemlist('git rev-parse --show-toplevel')[0] }, 0) " Override Colors command. You can safely do this in your .vimrc as fzf.vim " will not override existing commands.