Add Path To Find Command
| ... | ... |
@@ -85,9 +85,9 @@ function! FzyCommand(choice_command, vim_command) |
| 85 | 85 |
endif |
| 86 | 86 |
endfunction |
| 87 | 87 |
|
| 88 |
-nnoremap <leader>e :call FzyCommand("find -type f", ":e")<cr>
|
|
| 89 |
-nnoremap <leader>v :call FzyCommand("find -type f", ":vs")<cr>
|
|
| 90 |
-nnoremap <leader>s :call FzyCommand("find -type f", ":sp")<cr>
|
|
| 88 |
+nnoremap <leader>e :call FzyCommand("find . -type f", ":e")<cr>
|
|
| 89 |
+nnoremap <leader>v :call FzyCommand("find . -type f", ":vs")<cr>
|
|
| 90 |
+nnoremap <leader>s :call FzyCommand("find . -type f", ":sp")<cr>
|
|
| 91 | 91 |
``` |
| 92 | 92 |
|
| 93 | 93 |
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> |
| 114 | 114 |
|
| 115 | 115 |
* [fzy.js](https://github.com/jhawthorn/fzy.js) Javascript port |
| 116 | 116 |
|
| 117 |
+ |