summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 3f6c525..e6676ea 100644
--- a/README.md
+++ b/README.md
@@ -85,9 +85,9 @@ function! FzyCommand(choice_command, vim_command)
endif
endfunction
-nnoremap <leader>e :call FzyCommand("find -type f", ":e")<cr>
-nnoremap <leader>v :call FzyCommand("find -type f", ":vs")<cr>
-nnoremap <leader>s :call FzyCommand("find -type f", ":sp")<cr>
+nnoremap <leader>e :call FzyCommand("find . -type f", ":e")<cr>
+nnoremap <leader>v :call FzyCommand("find . -type f", ":vs")<cr>
+nnoremap <leader>s :call FzyCommand("find . -type f", ":sp")<cr>
```
Any program can be used to filter files presented through fzy. [ag (the silver searcher)](https://github.com/ggreer/the_silver_searcher) can be used to ignore files specified by `.gitignore`.
@@ -114,3 +114,4 @@ It prefers shorter candidates: `test` matches <tt><b>test</b>s</tt> over <tt><b>
* [fzy.js](https://github.com/jhawthorn/fzy.js) Javascript port
+