Guest User

Untitled

a guest
Mar 22nd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. # brew install ag
  2. # brew install fzy
  3. # Usage: e [part of filename]
  4. function e
  5. set -l file (ag . --silent -l -g '' | fzy -q $argv)
  6. if test -z $file
  7. return
  8. else
  9. nvim $file
  10. end
  11. end
Add Comment
Please, Sign In to add comment