ethercrow/yi — pull request #1 by benarmston (2012-12-10 00:19:53+00:00)
Title: Support for G without a count

G works correctly without a count in normal, visual and operator pending modes. Normal is defined as "moves to the bottom of the file".

No additional tests have been broken by this, so I'm assuming that I've not broken anything else.

The mechanism to implement this has been to delay providing a default count for as long as possible. So, ``Move`` now contains a function from a ``Maybe Int -> BufferM ()``.

Operators and text objects continue to be given the default count during the parsing of the operand as I have no use case for changing that. Though perhaps this makes the three constructors ``JustOperator``, ``JustTextObject`` and ``JustMove`` necessarily different.