diff --git a/README.md b/README.md index ede362b..42dbeae 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,8 @@ Commands | Command | List | | --- | --- | | `Files [PATH]` | Files (similar to `:FZF`) | -| `GitFiles [OPTS]` | Git files (git ls-files) | -| `GitFiles?` | Git files (git status) | +| `GFiles [OPTS]` | Git files (`git ls-files`) | +| `GFiles?` | Git files (`git status`) | | `Buffers` | Open buffers | | `Colors` | Color schemes | | `Ag [PATTERN]` | [ag][ag] search result (`ALT-A` to select all, `ALT-D` to deselect all) | diff --git a/doc/fzf-vim.txt b/doc/fzf-vim.txt index 894f9ff..5ad8452 100644 --- a/doc/fzf-vim.txt +++ b/doc/fzf-vim.txt @@ -75,8 +75,8 @@ COMMANDS *fzf-vim-commands* Command | List ~ -----------------+------------------------------------------------------------------- `Files [PATH]` | Files (similar to `:FZF` ) - `GitFiles [OPTS]` | Git files (git ls-files) - `GitFiles?` | Git files (git status) + `GFiles [OPTS]` | Git files (git ls-files) + `GFiles?` | Git files (git status) `Buffers` | Open buffers `Colors` | Color schemes `Ag [PATTERN]` | {ag}{5} search result (ALT-A to select all, ALT-D to deselect all) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 3d0c36c..9731350 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -40,6 +40,7 @@ endfunction call s:defs([ \'command! -bang -nargs=? -complete=dir Files call fzf#vim#files(, fzf#vim#layout(0))', \'command! -bang -nargs=? GitFiles call fzf#vim#gitfiles(, fzf#vim#layout(0))', +\'command! -bang -nargs=? GFiles call fzf#vim#gitfiles(, fzf#vim#layout(0))', \'command! -bang Buffers call fzf#vim#buffers(fzf#vim#layout(0))', \'command! -bang -nargs=* Lines call fzf#vim#lines(, fzf#vim#layout(0))', \'command! -bang -nargs=* BLines call fzf#vim#buffer_lines(, fzf#vim#layout(0))',