Don't grow after gv. In fact, shrink // re: #11
Reindent. Close #12. Thanks @joshuarh
enable to open and close the list
add the new option in the README
add the new option in the doc
add the edit action in the showed line
Formatting/cleanup

- no need to use ':execute' on literal strings
- use consistent casing in mappings
- use the full form of some commands and options, for readability
- indentation
Allow setting the 'errorformat' option for Ag.vim

- this is used in parsing ag's output
- see `:h errorformat` for more info
- when this can't be set, then certain ag options cannot be used in
  `g:agprg` (you won't be able to jump to the matches because the quickfix
  list won't be populated correctly if they do)
Add a modeline for editing documentation

This should ensure consistent formatting
Document the global options
Provide a link to ag in the docs instead of ack
Merge pull request #28 from joshuarh/documentation

Update the documentation
Don't remove mappings when using a custom handler

When changing `g:ag_*handler` it would only make sense to remove the
quickfix/location list mappings if the new handler didn't use one of
those lists.

Otherwise removing the mappings is (imo) a separate decision from
writing your own handler, so it would be best not to mix the two.
Use the quickfix/location list height in `gv`

Before this was just being set to something similar to the default
height. Though this code is harder to read, it fixes the following:
- Close the right list (the location list or the quickfix window). This
  is fixed for the `e` and `q` commands too.
- If someone specifies a height (e.g. `let g:ag_qhandler="copen 50"`)
  then `gv` will be less jarring because when the quickfix window is
  re-opened it'll be 50 lines again.

The `gv`, `e`, and `q` mappings depended on a local variable that won't
be available when the mapping was used, so |:execute| was used for those
mappings to evaluate that variable when the mappings are made.

Fixes #11

Thanks to @sigmavirus24 for helping out with this one :)
Merge pull request #30 from joshuarh/gv-use-previous-window-height

Use the quickfix/location list height in `gv`
Merge pull request #31 from joshuarh/separate-apply-mappings-from-handlers

Don't remove mappings when using a custom handler
Enable mappings by default

Fixes https://github.com/rking/ag.vim/issues/36
Helptags should not be camel case
Merge pull request #38 from calid/Helptags-doc-fix

Helptags should not be camel case
Don't show empty lists of matches

Fixes https://github.com/rking/ag.vim/issues/40