ag.vim icon indicating copy to clipboard operation
ag.vim copied to clipboard

Adding option to choose default result window

Open patrickwhite256 opened this issue 9 years ago • 0 comments

  • Adding g:ag_default_window_type to choose to use the quickfix or location list
  • Adding :LAg... variants of commands that did not already have them
  • Adding :QAg... variants of all commands

Previously, it was difficult to use the location list by default, since something like command -nargs=* Ag LAg <args> in the vimrc would get overridden by the command! in the plugin.

In my opinion, the variants should eventually be removed, since I don't really see a reason why someone would want to use one list sometimes but the other sometimes. If people agree with me:

  • The :LAg... variants should be put on a deprecation path
  • The :QAg... variants should just be removed now

If you agree they should be removed, I'll update the PR to do these things.

patrickwhite256 avatar Apr 08 '16 18:04 patrickwhite256