<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotvim, branch master</title>
<subtitle>My vim configuration</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/'/>
<entry>
<title>vimrc: Add `[b` and `]b` buffer cycling mappings</title>
<updated>2024-04-05T19:33:47+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2024-04-03T21:54:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=ff8657a1a50bbbe5ef1fad71f269bca361e53f02'/>
<id>ff8657a1a50bbbe5ef1fad71f269bca361e53f02</id>
<content type='text'>
I've had these on `&lt;leader&gt;k` and `&lt;leader&gt;j` since the early days, but
those mappings no longer feel logical to me. It seems that `[b` and `]b`
are unbound, so I decided to bind these to buffer switching, for the
rare times when I need it.

Eventually I'll probably remove one or the other set depending on what I
end up sticking with.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I've had these on `&lt;leader&gt;k` and `&lt;leader&gt;j` since the early days, but
those mappings no longer feel logical to me. It seems that `[b` and `]b`
are unbound, so I decided to bind these to buffer switching, for the
rare times when I need it.

Eventually I'll probably remove one or the other set depending on what I
end up sticking with.
</pre>
</div>
</content>
</entry>
<entry>
<title>projects/aodocs.vim: Add email signature mapping</title>
<updated>2024-03-12T21:58:45+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2024-03-12T18:05:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=bfa73f62df16547c1c276e0521142f0711fba8ee'/>
<id>bfa73f62df16547c1c276e0521142f0711fba8ee</id>
<content type='text'>
Mapping to make it easier to insert a pre-defined signature in emails.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mapping to make it easier to insert a pre-defined signature in emails.
</pre>
</div>
</content>
</entry>
<entry>
<title>prr-ui: Allow `PrrApprove` and `PrrReject` to be called outside of *.prr</title>
<updated>2023-12-12T22:42:51+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-12-12T19:07:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=cfeee05bb0c327ea3e54ad9846d9eb5da1b443c8'/>
<id>cfeee05bb0c327ea3e54ad9846d9eb5da1b443c8</id>
<content type='text'>
Sometimes I don't have any line comments to make and can go ahead and
accept or reject a change immediately.

In those cases, I want `PrrApprove` and `PrrReject` to be available in
any file type buffer, not just in *.prr buffers.

Additionally, those two commands should automatically do `PrrStart` if
it hasn't been executed manually before, like we already do with
`PrrComment`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometimes I don't have any line comments to make and can go ahead and
accept or reject a change immediately.

In those cases, I want `PrrApprove` and `PrrReject` to be available in
any file type buffer, not just in *.prr buffers.

Additionally, those two commands should automatically do `PrrStart` if
it hasn't been executed manually before, like we already do with
`PrrComment`.
</pre>
</div>
</content>
</entry>
<entry>
<title>prr-ui: Remove `s:active` variable</title>
<updated>2023-12-08T23:20:40+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-12-08T23:07:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=d342a9fde06ca48e8a0ca6dc75859b9417410406'/>
<id>d342a9fde06ca48e8a0ca6dc75859b9417410406</id>
<content type='text'>
This variable isn't necessary. The same effect can be accomplished with
the try-catch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This variable isn't necessary. The same effect can be accomplished with
the try-catch.
</pre>
</div>
</content>
</entry>
<entry>
<title>diff-corrections: Apply diff corrections on BufEnter</title>
<updated>2023-12-08T23:20:40+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-12-08T21:08:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=0e40dbd6cd88228127eaec0e50290236bf573644'/>
<id>0e40dbd6cd88228127eaec0e50290236bf573644</id>
<content type='text'>
Ensure that diff corrections are applied in a `vimdiff` context, where
we haven't run `:diffthis` manually.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure that diff corrections are applied in a `vimdiff` context, where
we haven't run `:diffthis` manually.
</pre>
</div>
</content>
</entry>
<entry>
<title>colors/twilight256.vim: Increase contrast of diff background colours</title>
<updated>2023-12-08T23:20:40+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-12-08T21:07:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=d30df22ff2c949d4b6445b0f4a091d8005301656'/>
<id>d30df22ff2c949d4b6445b0f4a091d8005301656</id>
<content type='text'>
Change the diff background colours from their defaults to make the text
in the foreground easier to read.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change the diff background colours from their defaults to make the text
in the foreground easier to read.
</pre>
</div>
</content>
</entry>
<entry>
<title>prr-ui: Automatically `PrrStart` on `PrrComment`</title>
<updated>2023-12-08T23:20:40+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-12-08T21:04:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=7c18c103fb5ab16abcd834e7a60bbd55ecc44e09'/>
<id>7c18c103fb5ab16abcd834e7a60bbd55ecc44e09</id>
<content type='text'>
If the Prr session hasn't been started yet, do so automatically when
running `PrrComment`. This lets me comment directly on a line without
having to worry about starting the Prr review beforehand.

Now that I see the code and my earlier TODO, I think I could probably
have made it work without the `s:active` flag. Will have to try removing
it and testing whether that works.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the Prr session hasn't been started yet, do so automatically when
running `PrrComment`. This lets me comment directly on a line without
having to worry about starting the Prr review beforehand.

Now that I see the code and my earlier TODO, I think I could probably
have made it work without the `s:active` flag. Will have to try removing
it and testing whether that works.
</pre>
</div>
</content>
</entry>
<entry>
<title>after/plugin/copilot.vim: Add mappings for GitHub Copilot</title>
<updated>2023-12-07T21:40:24+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-12-07T21:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=dd6f787ea345e47f2aecb49e07439e688867dc85'/>
<id>dd6f787ea345e47f2aecb49e07439e688867dc85</id>
<content type='text'>
Set up custom insert mappings for GitHub Copilot based on what makes
sense to me and inspired by the existing i_^x Vim completion mappings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set up custom insert mappings for GitHub Copilot based on what makes
sense to me and inspired by the existing i_^x Vim completion mappings.
</pre>
</div>
</content>
</entry>
<entry>
<title>after/plugin/prr_ui.vim: Add mapping to `PrrComment`</title>
<updated>2023-12-07T21:40:24+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-12-07T21:26:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=b988faedc985ed08aaf5bb34f67af2b2f270cf16'/>
<id>b988faedc985ed08aaf5bb34f67af2b2f270cf16</id>
<content type='text'>
Add a new mapping to quickly comment on a line.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new mapping to quickly comment on a line.
</pre>
</div>
</content>
</entry>
<entry>
<title>prr-ui: Comment: Exit early when Prr buffer doesn't exist</title>
<updated>2023-12-07T21:40:23+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-12-07T21:24:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=fbc9060f8aa60132c3562ff01b79c48686122f51'/>
<id>fbc9060f8aa60132c3562ff01b79c48686122f51</id>
<content type='text'>
If `PrrStart` hasn't been run yet, we should error and stop execution so
we don't insert newlines and start insert mode in the current buffer.

Eventually, we should set it up so `PrrStart` is called automatically
from `PrrComment` if it hasn't been already.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If `PrrStart` hasn't been run yet, we should error and stop execution so
we don't insert newlines and start insert mode in the current buffer.

Eventually, we should set it up so `PrrStart` is called automatically
from `PrrComment` if it hasn't been already.
</pre>
</div>
</content>
</entry>
</feed>
