mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-19 00:53:42 -05:00
Add -a to grep command so it doesn't stop on "Binary file matches," losing most of my tags >:(
@@ -232,7 +232,7 @@ function! s:tags()
|
|||||||
|
|
||||||
call fzf#run({
|
call fzf#run({
|
||||||
\ 'source': 'cat '.join(map(tagfiles(), 'fnamemodify(v:val, ":S")')).
|
\ 'source': 'cat '.join(map(tagfiles(), 'fnamemodify(v:val, ":S")')).
|
||||||
\ '| grep -v ^!',
|
\ '| grep -v -a ^!',
|
||||||
\ 'options': '+m -d "\t" --with-nth 1,4.. -n 1 --tiebreak=index',
|
\ 'options': '+m -d "\t" --with-nth 1,4.. -n 1 --tiebreak=index',
|
||||||
\ 'down': '40%',
|
\ 'down': '40%',
|
||||||
\ 'sink': function('s:tags_sink')})
|
\ 'sink': function('s:tags_sink')})
|
||||||
|
|||||||
Reference in New Issue
Block a user