{"action":"created","issue":{"url":"https://api.github.com/repos/junegunn/fzf.vim/issues/579","repository_url":"https://api.github.com/repos/junegunn/fzf.vim","labels_url":"https://api.github.com/repos/junegunn/fzf.vim/issues/579/labels{/name}","comments_url":"https://api.github.com/repos/junegunn/fzf.vim/issues/579/comments","events_url":"https://api.github.com/repos/junegunn/fzf.vim/issues/579/events","html_url":"https://github.com/junegunn/fzf.vim/issues/579","id":294601511,"number":579,"title":"fallback to Rg if available","user":{"login":"acornejo","id":83786,"avatar_url":"https://avatars2.githubusercontent.com/u/83786?v=4","gravatar_id":"","url":"https://api.github.com/users/acornejo","html_url":"https://github.com/acornejo","followers_url":"https://api.github.com/users/acornejo/followers","following_url":"https://api.github.com/users/acornejo/following{/other_user}","gists_url":"https://api.github.com/users/acornejo/gists{/gist_id}","starred_url":"https://api.github.com/users/acornejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acornejo/subscriptions","organizations_url":"https://api.github.com/users/acornejo/orgs","repos_url":"https://api.github.com/users/acornejo/repos","events_url":"https://api.github.com/users/acornejo/events{/privacy}","received_events_url":"https://api.github.com/users/acornejo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-06T01:30:52Z","updated_at":"2018-02-06T02:21:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"- Category\r\n    - [ ] Question\r\n    - [ ] Bug\r\n    - [x ] Suggestion\r\n- OS\r\n    - [x ] Linux\r\n    - [x ] macOS\r\n    - [x ] Windows\r\n    - [ x] Etc.\r\n- Vim\r\n    - [x ] Vim\r\n    - [x ] Neovim\r\n\r\nRg and Ag are very similar (there are other alternatives, such as Ack or even plain grep that can be used for the same purpose). I've recently switched to Rg from Ag to get some additional speed. I have written a custom Rg command for fzf.vim and works great.\r\n\r\nHowever I would prefer to avoid customizing fzf.vim and instead modify fzf.vim to fallback to use rg if ag is not available (or perhaps expose an option to choose which binary to use). I would be happy to contribute a pull-request for this, just want to make sure it has a chance of being included.\r\n"},"comment":{"url":"https://api.github.com/repos/junegunn/fzf.vim/issues/comments/363288866","html_url":"https://github.com/junegunn/fzf.vim/issues/579#issuecomment-363288866","issue_url":"https://api.github.com/repos/junegunn/fzf.vim/issues/579","id":363288866,"user":{"login":"junegunn","id":700826,"avatar_url":"https://avatars2.githubusercontent.com/u/700826?v=4","gravatar_id":"","url":"https://api.github.com/users/junegunn","html_url":"https://github.com/junegunn","followers_url":"https://api.github.com/users/junegunn/followers","following_url":"https://api.github.com/users/junegunn/following{/other_user}","gists_url":"https://api.github.com/users/junegunn/gists{/gist_id}","starred_url":"https://api.github.com/users/junegunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junegunn/subscriptions","organizations_url":"https://api.github.com/users/junegunn/orgs","repos_url":"https://api.github.com/users/junegunn/repos","events_url":"https://api.github.com/users/junegunn/events{/privacy}","received_events_url":"https://api.github.com/users/junegunn/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T02:21:38Z","updated_at":"2018-02-06T02:21:38Z","author_association":"OWNER","body":"> However I would prefer to avoid customizing fzf.vim and instead modify fzf.vim to fallback to use rg if ag is not available\r\n\r\nAny reason you don't want to keep your custom command? I would prefer not to change fzf.vim unless necessary, but to encourage users to come up with their own commands and bindings using autoload functions as described in https://github.com/junegunn/fzf.vim#advanced-customization as it's really hard to find a good default that everyone agrees upon."}}
{"actor":{"display_login":"junegunn"}}