Switch branches/tags
Nothing to show
Commits on Aug 11, 2016
  1. Mark the quickfix tempfile as UTF-8 when writing to it

    Despite using the open pragma to set file handle encodings, the handle
    returned by tempfile() isn't marked UTF-8.  This was causing
    "Wide-character in print" warnings when grep returned lines containing
    non-ASCII characters.
    committed Aug 11, 2016
Commits on Jun 10, 2015
  1. Support plain old GNU grep as a backend

    but only if compiled with PCRE support.
    committed Jun 10, 2015
Commits on Jan 14, 2015
Commits on Jan 13, 2015
  1. Use default cli for adding git aliases in README

    I think the git alias command is only available from things like
    git-extras or hub.
    Using the original Git CLI would be less confusing to people picking
    this up.
    mikedillion committed with Jan 13, 2015
Commits on Nov 10, 2014
  1. Add a missing helping verb

    committed Nov 10, 2014
Commits on Oct 31, 2014
  1. git-grep-with-smartcase: Support --no-S or --no-smart-case to disable…

    … our smarts
    There are occasional times when I want my `git ack` alias to not do
    smartcasing on a lowercase pattern.  There are pattern tricks you can
    use to fool the "smarts", but they're generally hideous.
    committed Oct 31, 2014
Commits on Oct 22, 2014
  1. vim :grep support

    committed Oct 22, 2014
Commits on Aug 1, 2014
  1. Support positive/negative lookaheads and lookbehinds

    At some point I need to use an actual parser to convert between the two
    regexp grammars...
    With this change, I now rarely use syntax while grepping that isn't
    supported by viack.
    committed Aug 1, 2014
Commits on Dec 13, 2013
  1. Add a git-grep wrapper to implement smartcase, for parity with git-vi…

    …ack in aliases
    I now use the following two git aliases, for example:
            ack = "grep-with-smartcase -I --perl-regexp --break --heading --line-number"
            ag  = "grep-with-smartcase -I --perl-regexp --break --heading --line-number"
    after symlinking git-grep-with-smartcase into my path.
    With that in place, git ack and git ag match the behaviour of git viack
    and git viag.
    committed Dec 13, 2013
Commits on Nov 27, 2013
  1. Ignore binary files when using git grep

    Matches the default behaviour of ag/ack.
    committed Nov 27, 2013
Commits on Nov 14, 2013
  1. Run vim with a quickfix list, preloaded pattern, and a file list

    This lets me run through the matches (:n + n or :cn) and view the list
    (:buffers or :cl) any way I please.  Note that the -q option to vim
    won't accept a list of files after it.
    committed Nov 14, 2013
  2. Unify git-viack into viack for great pattern transformation justice

    git doesn't translate Perl patterns into Vim patterns, but now git-viack
    To switch from the previous git-viack or a git viack alias, just
    unlink/unalias it and link to viack instead using git-viack (or
    git-vigrep).  The git command when viack is invoked as git-vi... is
    always "grep", regardless of what "..." is.
    committed Nov 14, 2013
Commits on Jul 1, 2013
  1. Easy ways to use a grep other than ack

    1. Symlink or copy viack as viag to use ag instead of ack.
    2. Export VIACK_GREP=ag to use ag instead of ack when calling viack.
    VIACK_GREP takes priority, then how viack was invoked, with the default
    being ack.
    committed Jul 1, 2013
  2. \\b in a pattern isn't \b

    Require the start of line or any character not a slash before a \b to be
    translated into vim's syntax.  Technically not 100% correct as it'll
    false negative on \\\b, but that's OK for now.  I haven't run into it in
    practice unlike the bug fixed by this change.
    committed Jul 1, 2013
Commits on Jul 20, 2012
  1. git viack

    This isn't really ack, of course, but it's git grep with Perl regexps and
    auto-opening files in vim +/pat.  My finger macros know viack, so git
    viack is a natural extension unlike, say, git vigrep.
    committed Jul 20, 2012
Commits on Mar 11, 2012
  1. Translate \b into \W\@= for vim

    \W\@= is vim syntax for "zero-width match on a non-word character".
    I think this works for any instance of \b, unlike \< and \> in vim which
    explicitly match start and end (respectively) of a word.
    committed Mar 11, 2012
Commits on Feb 29, 2012
  1. Naive port of viack to Perl for less crazy

    Fixes the "spaces in matched files" bug [GH #3] while I'm at it, because
    it was simple.
    committed Feb 29, 2012
Commits on Feb 28, 2012
  1. Don't open vim when there are no matches

    Fixes [GH #2].
    committed Feb 28, 2012
Commits on Jan 4, 2012
Commits on Sep 30, 2011
  1. Try to make vim's magic regex mode more like Perl's standard regexes

    The most common problematic magic characters are < and >, so we escape
    them along with a few others pulled from :help magic.
    committed Sep 30, 2011
Commits on Sep 21, 2011
  1. Add \v to the beginning of the vim regex to make it behave more like …

    Awesome.  I've been looking for this flag forever.
    committed Sep 21, 2011
  2. viack, edit ack results in vim

    committed Sep 21, 2011