<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotvim/bundle, branch master</title>
<subtitle>My vim configuration</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/'/>
<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>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>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>
<entry>
<title>prr-ui: Switch to insert mode immediately on `PrrComment`</title>
<updated>2023-12-07T21:40:23+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-12-07T21:23:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=96d7056b5cac4c510e44783c2af7b1f50fd3ea00'/>
<id>96d7056b5cac4c510e44783c2af7b1f50fd3ea00</id>
<content type='text'>
We already said we wanted to write a comment with the command, so we
should start in insert mode immediately rather than it being an
additional action.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We already said we wanted to write a comment with the command, so we
should start in insert mode immediately rather than it being an
additional action.
</pre>
</div>
</content>
</entry>
<entry>
<title>prr-ui: Implement `PrrComment`</title>
<updated>2023-12-05T23:51:47+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-12-05T23:03:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=086d3d3649a34db36180769efb210f6945770f83'/>
<id>086d3d3649a34db36180769efb210f6945770f83</id>
<content type='text'>
The idea is to open the Prr file at the line corresponding to the
current line in the real source file.

This makes it easy to comment on a line while looking at the source,
rather than the diff.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The idea is to open the Prr file at the line corresponding to the
current line in the real source file.

This makes it easy to comment on a line while looking at the source,
rather than the diff.
</pre>
</div>
</content>
</entry>
<entry>
<title>prr-ui: Idea for a command to comment on a line from the code</title>
<updated>2023-12-05T23:51:47+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-12-05T21:35:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=0a2e1a11da108edb13d057feb4ccdfdf20a9fe80'/>
<id>0a2e1a11da108edb13d057feb4ccdfdf20a9fe80</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>prr-ui: Ensure file is saved before `PrrSubmit`</title>
<updated>2023-11-29T23:05:23+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-29T20:47:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=0782a9709eab7b4930547f0e4095030b33f9e28c'/>
<id>0782a9709eab7b4930547f0e4095030b33f9e28c</id>
<content type='text'>
Guard against accidentally submitting a stale unsaved code review.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Guard against accidentally submitting a stale unsaved code review.
</pre>
</div>
</content>
</entry>
<entry>
<title>prr-ui: Pick a random emoji to include in `PrrApprove`</title>
<updated>2023-11-29T23:05:23+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-11-29T01:10:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=55a482ccc2756d0c79aa4790dc061f6f5d61fccb'/>
<id>55a482ccc2756d0c79aa4790dc061f6f5d61fccb</id>
<content type='text'>
I collected a list of emoji from
https://github.com/ikatyang/emoji-cheat-sheet and trimmed it down. Now,
the pull request approval message will chose one of these emoji at
random to include.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I collected a list of emoji from
https://github.com/ikatyang/emoji-cheat-sheet and trimmed it down. Now,
the pull request approval message will chose one of these emoji at
random to include.
</pre>
</div>
</content>
</entry>
</feed>
