fish: Drop all usages of vgrep
While we have been using vgrep for quite a while it has become increasingly annoying since it uses a global cache instead of a different cache for each directory which means using vgrep to search across different directories at the same time is absolutely useless.
This commit is contained in:
parent
0a323f355f
commit
bab7ac5178
3 changed files with 0 additions and 15 deletions
|
@ -1,7 +0,0 @@
|
||||||
abbr vg vgrep
|
|
||||||
abbr vs vgrep -s
|
|
||||||
abbr vgi vgrep --interactive
|
|
||||||
abbr vgng vgrep --no-git
|
|
||||||
abbr vgnr vgrep --no-ripgrep
|
|
||||||
abbr vgnh vgrep --no-header
|
|
||||||
abbr vgnl vgrep --no-less
|
|
|
@ -1,4 +0,0 @@
|
||||||
function vgF --wraps=vgrep --description 'vgrep search with fzf'
|
|
||||||
set -f INITIAL_QUERY $argv[1]
|
|
||||||
FZF_DEFAULT_COMMAND="vgrep --no-header $INITIAL_QUERY" fzf --bind "Ctrl-d:half-page-down,Ctrl-u:half-page-up,change:reload:vgrep --no-header {q} || true" --ansi --phony --tac --query $INITIAL_QUERY | awk '{print $1}' | xargs -I{} -o vgrep --show {}
|
|
||||||
end
|
|
|
@ -1,4 +0,0 @@
|
||||||
function vgf --wraps=vgrep --description 'vgrep search with fzf'
|
|
||||||
set -f INITIAL_QUERY $argv[1]
|
|
||||||
vgrep --no-header $INITIAL_QUERY | fzf --ansi --bind "Ctrl-d:half-page-down,Ctrl-u:half-page-up" | awk '{print $1}' | xargs -I{} -o vgrep --show {}
|
|
||||||
end
|
|
Loading…
Reference in a new issue