Advertisement
Guest User

Untitled

a guest
May 23rd, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. "
  2. let g:ags_agexe = '/usr/local/bin/ag'
  3. let g:ags_edit_show_line_numbers = 1
  4. " following two lines create a cool 'find all refs' type deal
  5. set grepprg=ags
  6. nnoremap K :Ags "\b<C-R><C-W>\b"<CR>
  7.  
  8. " default ag search options - gives a nice colored result buffer
  9.  
  10. let g:ags_agargs = {
  11. \ '--break' : [ '', '' ],
  12. \ '--color' : [ '', '' ],
  13. \ '--color-line-number' : [ '"1;30"', '' ],
  14. \ '--color-match' : [ '"32;40"', '' ],
  15. \ '--color-path' : [ '"1;31"', '' ],
  16. \ '--column' : [ '', '' ],
  17. \ '--context' : [ 'g:ags_agcontext', '-C', '3' ],
  18. \ '--filename' : [ '', '' ],
  19. \ '--group' : [ '', '' ],
  20. \ '--heading' : [ '', '-H' ],
  21. \ '--max-count' : [ 'g:ags_agmaxcount', '-m', '2000' ],
  22. \ '--numbers' : [ '', '' ]
  23. \ }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement