Created
April 13, 2015 16:54
-
-
Save rra3/0cbcb88c79ee2a098098 to your computer and use it in GitHub Desktop.
ags config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " | |
| let g:ags_agexe = '/usr/local/bin/ag' | |
| let g:ags_edit_show_line_numbers = 1 | |
| " following two lines create a cool 'find all refs' type deal | |
| set grepprg=ags | |
| nnoremap K :Ags "\b<C-R><C-W>\b"<CR> | |
| " default ag search options - gives a nice colored result buffer | |
| let g:ags_agargs = { | |
| \ '--break' : [ '', '' ], | |
| \ '--color' : [ '', '' ], | |
| \ '--color-line-number' : [ '"1;30"', '' ], | |
| \ '--color-match' : [ '"32;40"', '' ], | |
| \ '--color-path' : [ '"1;31"', '' ], | |
| \ '--column' : [ '', '' ], | |
| \ '--context' : [ 'g:ags_agcontext', '-C', '3' ], | |
| \ '--filename' : [ '', '' ], | |
| \ '--group' : [ '', '' ], | |
| \ '--heading' : [ '', '-H' ], | |
| \ '--max-count' : [ 'g:ags_agmaxcount', '-m', '2000' ], | |
| \ '--numbers' : [ '', '' ] | |
| \ } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment