<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vim-grappele, branch v0.2.0</title>
<subtitle>Vim plugin to repeat the last G movement</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-grappele/'/>
<entry>
<title>Increase version v0.1.0 -&gt; v0.2.0</title>
<updated>2020-09-20T22:31:09+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-20T22:23:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-grappele/commit/?id=8a05e0113d49585ba1c22251695d5478b1c634ca'/>
<id>8a05e0113d49585ba1c22251695d5478b1c634ca</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add operator pending and visual mode `G` mappings</title>
<updated>2020-09-20T21:48:59+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-09-20T21:28:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-grappele/commit/?id=3483e377e93e6381e2fea236ceb0e7d2991aa29e'/>
<id>3483e377e93e6381e2fea236ceb0e7d2991aa29e</id>
<content type='text'>
I previously added o- and v-maps for the `gG` mapping, but hadn't done
so for `G`.

This change allows us to reuse lines given to `G` from other modes. For
example:

    173&gt;&gt;..ygG

Didn't use `&lt;Plug&gt;` mappings here because after testing them, there was
a noticeable delay. Found 07a75d523eadaf1027aa8bf287256602ad05f97f,
which describes a performance penalty, so used direct mappings instead.

Kept the `&lt;Plug&gt;Grappele` mapping for a measure of backward
compatibility.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I previously added o- and v-maps for the `gG` mapping, but hadn't done
so for `G`.

This change allows us to reuse lines given to `G` from other modes. For
example:

    173&gt;&gt;..ygG

Didn't use `&lt;Plug&gt;` mappings here because after testing them, there was
a noticeable delay. Found 07a75d523eadaf1027aa8bf287256602ad05f97f,
which describes a performance penalty, so used direct mappings instead.

Kept the `&lt;Plug&gt;Grappele` mapping for a measure of backward
compatibility.
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase version v0.0.5 -&gt; v0.1.0</title>
<updated>2018-12-13T13:18:58+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-12-13T13:18:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-grappele/commit/?id=b6619da3a1ae5a44c8b05ac176e130f12da6661b'/>
<id>b6619da3a1ae5a44c8b05ac176e130f12da6661b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'add-operator-pending-mode'</title>
<updated>2018-12-13T13:16:12+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-12-13T13:16:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-grappele/commit/?id=00f4e60ce5bddbad0f40799eb442f401af5c8315'/>
<id>00f4e60ce5bddbad0f40799eb442f401af5c8315</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add operator-pending and visual mode mappings</title>
<updated>2018-12-13T12:49:40+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-12-13T12:49:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-grappele/commit/?id=1926fc6c9fb6f724660a495f23afccc0830de069'/>
<id>1926fc6c9fb6f724660a495f23afccc0830de069</id>
<content type='text'>
New mappings that allow the stored `G` position to be used in both
visual mode and operator-pending mode for greater flexibility.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New mappings that allow the stored `G` position to be used in both
visual mode and operator-pending mode for greater flexibility.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'relicense-under-GPL'</title>
<updated>2018-12-13T12:48:10+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-12-13T12:48:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-grappele/commit/?id=8b5481b9de6a72a6eede405dda8fb158d5358941'/>
<id>8b5481b9de6a72a6eede405dda8fb158d5358941</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Relicense under the GNU GPLv3+</title>
<updated>2018-12-13T12:44:37+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-12-13T12:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-grappele/commit/?id=93d02d58c8a814122489f80020fb6d8330aced14'/>
<id>93d02d58c8a814122489f80020fb6d8330aced14</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase version v0.0.4 -&gt; v0.0.5</title>
<updated>2017-12-20T22:16:00+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-12-20T22:16:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-grappele/commit/?id=07702328d14181a6d6e8137bfae14f2a8bc3f1f5'/>
<id>07702328d14181a6d6e8137bfae14f2a8bc3f1f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'don,t-try-to-recall-if-there-hasn,t-been-a-G-movement-yet'</title>
<updated>2017-12-20T22:11:19+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-12-20T22:11:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-grappele/commit/?id=63458a23b65014cbb11dcbdb91c62115e263bfd2'/>
<id>63458a23b65014cbb11dcbdb91c62115e263bfd2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>autoload/grappele.vim: Only try to recall if a location was saved</title>
<updated>2017-12-20T00:05:21+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-12-20T00:05:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-grappele/commit/?id=61b3046661f8bb14f12b2a45650bb23b1d68f09a'/>
<id>61b3046661f8bb14f12b2a45650bb23b1d68f09a</id>
<content type='text'>
Previously, if `gG` (the recall mapping) was pressed before previously
having pressed a `G` command, the following error would appear:

    Error detected while processing function grappele#Recall:
    line    1:
    E121: Undefined variable: s:line
    E116: Invalid arguments for function grappele#Grappele

This happened because no previous `G` location had been saved.

Displaying an error here makes for a bad user experience. Instead if
this happens, we should just do nothing. To prevent the error, check for
the existence of the `s:line` variable before trying to use it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, if `gG` (the recall mapping) was pressed before previously
having pressed a `G` command, the following error would appear:

    Error detected while processing function grappele#Recall:
    line    1:
    E121: Undefined variable: s:line
    E116: Invalid arguments for function grappele#Grappele

This happened because no previous `G` location had been saved.

Displaying an error here makes for a bad user experience. Instead if
this happens, we should just do nothing. To prevent the error, check for
the existence of the `s:line` variable before trying to use it.
</pre>
</div>
</content>
</entry>
</feed>
