Install skim : https://github.com/lotabout/skim
Install ag : https://github.com/ggreer/the_silver_searcher
Use this command to find anything from your current repository recursively :
sk --ansi -i -c 'ag --color "{}"'If you want to find and preview the file :
you can add this script to your $PATH - https://github.com/junegunn/fzf.vim/blob/master/bin/preview.sh
and then use this command :
sk --ansi -i -c 'ag --color "{}"' --preview "preview.sh {}"If you want to find and edit in sublime text - assuming you already have sublime in your $PATH -
use this command to bind the shortcut control+p to open sublime
sk --ansi -i -c 'ag --color "{}"' --bind 'ctrl-p:execute-silent(sublime {1})'