小改了下findstr.vim插件,适合Windows下使用的grep

42 views
Skip to first unread message

Steffan Chen

unread,
Aug 25, 2015, 12:43:58 PM8/25/15
to Vim.cn
findstr.vim这个插件主要解决Windows上移植版本的grep不便使用,以及vimgrep搜索效率底下的问题(cygwin+vim的程序外复制粘贴也不方便...)
作者是Yegappan Lakshmanan,也是著名插件grep.vim的作者。
最近小改了一下这个插件,主要增加了exclude目录的选项,还有一个更简单的在文件中搜索的命令。


地址:
https://github.com/WhatsDJGPP/findstr.vim

食用方法
bundle安装插件,在.vimrc加入如下配置:
    let Findstr_Default_Options = '/i'
    let
Findstr_Exclude_Options = '.git\\ .svn\\ cvs\\ rcs\\ sccs\\'
    nmap
<leader>gg :Rfindstr<CR>
    nmap
<leader>ff :EasyFindStr<CR>



Reply all
Reply to author
Forward
0 new messages