Remove feature gitgutter_escape_grep

Reverts feature introduced in 5c23cadf57

In order to use an escaped grep, please replace
`g:gitgutter_escape_grep=1` with:

    let g:gitgutter_grep_command = '\grep --color=never -e'
This commit is contained in:
Dan Church
2016-01-15 10:27:06 -06:00
committed by Andy Stewart
parent 8d229c222c
commit 3131bdcbb8
4 changed files with 2 additions and 18 deletions

View File

@@ -120,7 +120,6 @@ You can customise:
- Extra arguments for git-diff
- Key mappings
- The grep executable used
- Whether or not to escape grep (defaults to no)
- Whether or not vim-gitgutter is on initially (defaults to on)
- Whether or not signs are shown (defaults to yes)
- Whether or not line highlighting is on initially (defaults to off)
@@ -213,18 +212,13 @@ To change the hunk-staging/reverting/previewing maps (defaults shown):
nmap <Leader>hp <Plug>GitGutterPreviewHunk
<
TO ESCAPE GREP
TO USE A CUSTOM GREP COMMAND
To use a custom invocation for grep, use this:
>
let g:gitgutter_grep_command = 'grep --color=never -e'
<
To avoid any alias you have for grep, use this:
>
let g:gitgutter_escape_grep = 1
<
TO TURN OFF VIM-GITGUTTER BY DEFAULT
Add to your |vimrc|