mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:30:05 +08:00
Fix pt support in windows
Problems: Denite file_rec does not word in windows. Selution: change the command for pt in denite config.
This commit is contained in:
parent
9d05769cd1
commit
fa1e780aa6
@ -52,7 +52,7 @@ else
|
|||||||
" For Pt(the platinum searcher)
|
" For Pt(the platinum searcher)
|
||||||
" NOTE: It also supports windows.
|
" NOTE: It also supports windows.
|
||||||
call denite#custom#var('file_rec', 'command',
|
call denite#custom#var('file_rec', 'command',
|
||||||
\ ['pt', '--follow', '--nocolor', '--nogroup', '-g:', ''])
|
\ ['pt', '--follow', '--nocolor', '-g=', '.'])
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -15,6 +15,14 @@ through search tools: `ag`, `rg`, `ack`, `pt` and `grep`, Choose one you like.
|
|||||||
|
|
||||||
This ia a built-in plugin in SpaceVim, and we also separated a plugin : [FlyGrep.vim](https://github.com/wsdjeg/FlyGrep.vim)
|
This ia a built-in plugin in SpaceVim, and we also separated a plugin : [FlyGrep.vim](https://github.com/wsdjeg/FlyGrep.vim)
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
In linux os, flygrep use grep by default, if you want a more fast tool, you can choose one of following:
|
||||||
|
|
||||||
|
- [ripgrep(rg)](https://github.com/BurntSushi/ripgrep)
|
||||||
|
- [the_silver_searcher(ag)](https://github.com/ggreer/the_silver_searcher)
|
||||||
|
- [the_platinum_searcher(pt)](https://github.com/monochromegane/the_platinum_searcher)
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- **Search in a project**
|
- **Search in a project**
|
||||||
|
Loading…
Reference in New Issue
Block a user