<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vim-tabs-grep/plugin, branch v1.0.0</title>
<subtitle>Filter the output of the :tabs command</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-tabs-grep/'/>
<entry>
<title>Only load the plugin once</title>
<updated>2018-04-07T22:15:30+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-07T22:14:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-tabs-grep/commit/?id=feababe82edc183a20f5b410aff5f4dc21ab4d32'/>
<id>feababe82edc183a20f5b410aff5f4dc21ab4d32</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move functions to autoload/</title>
<updated>2018-04-07T22:12:37+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-07T22:12:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-tabs-grep/commit/?id=8868b071355638d3a8df26249216f46d8709b91d'/>
<id>8868b071355638d3a8df26249216f46d8709b91d</id>
<content type='text'>
Now that the plugin works and I'm done with the main development, move
everything from `plugin/` to `autoload/`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that the plugin works and I'm done with the main development, move
everything from `plugin/` to `autoload/`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Echo tabs with "Tab page X" lines highlighted in the "Title" group</title>
<updated>2018-04-07T22:07:21+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-07T22:07:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-tabs-grep/commit/?id=6fa50980ca86b00de5629cafe96a85280f2b0c1b'/>
<id>6fa50980ca86b00de5629cafe96a85280f2b0c1b</id>
<content type='text'>
Makes the "Tab page X" lines appear in the same colour as they usually
do when using the `:tabs` command.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Makes the "Tab page X" lines appear in the same colour as they usually
do when using the `:tabs` command.
</pre>
</div>
</content>
</entry>
<entry>
<title>s:MatchString(): Reuse `s:IsTabPageLine()`</title>
<updated>2018-04-07T21:44:43+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-07T21:44:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-tabs-grep/commit/?id=a9960f29cef722d0eef68ca3eb7963fe9dbadc26'/>
<id>a9960f29cef722d0eef68ca3eb7963fe9dbadc26</id>
<content type='text'>
I previously extracted this check to `s:IsTabPageLine()` in order to use
it in `s:FilterTabPageElements()`. Eliminate it from `s:MatchString()`
now and reuse the function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I previously extracted this check to `s:IsTabPageLine()` in order to use
it in `s:FilterTabPageElements()`. Eliminate it from `s:MatchString()`
now and reuse the function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove old commented code</title>
<updated>2018-04-07T21:43:02+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-07T21:43:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-tabs-grep/commit/?id=ace0ff92ab8db692f1d837a9a8caddfa943d9445'/>
<id>ace0ff92ab8db692f1d837a9a8caddfa943d9445</id>
<content type='text'>
This was never really useful, just a holdover from very early
development (copied from LsGrep and modified a bit).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was never really useful, just a holdover from very early
development (copied from LsGrep and modified a bit).
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove debug `echo`s</title>
<updated>2018-04-07T21:42:43+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-07T21:42:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-tabs-grep/commit/?id=fde7c45f0eba262e58d733a358f02a9704aef910'/>
<id>fde7c45f0eba262e58d733a358f02a9704aef910</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Output filtered tabs</title>
<updated>2018-04-07T21:42:12+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-07T21:42:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-tabs-grep/commit/?id=acb8a320fe88b8b3a47eded0b0b9745f55faa986'/>
<id>acb8a320fe88b8b3a47eded0b0b9745f55faa986</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>s:FilterTabPageElements(): Clean up comments</title>
<updated>2018-04-07T21:39:18+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-07T21:39:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-tabs-grep/commit/?id=041a9cdc6847d8806d9ea8985d14fb78001769bc'/>
<id>041a9cdc6847d8806d9ea8985d14fb78001769bc</id>
<content type='text'>
Remove development comments. And a debug `echo`. Add more descriptive
comments for the different steps.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove development comments. And a debug `echo`. Add more descriptive
comments for the different steps.
</pre>
</div>
</content>
</entry>
<entry>
<title>s:FilterTabPageElements(): Filter empty "Tab page X" elements</title>
<updated>2018-04-07T21:27:55+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-07T21:27:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-tabs-grep/commit/?id=46bfc1021c9cecf3209c6f58428f73c5c2bc3b25'/>
<id>46bfc1021c9cecf3209c6f58428f73c5c2bc3b25</id>
<content type='text'>
This function now works the way I want it to, removing the "Tab page X"
headers with no files under them from the `:tabs` list.

We do this by building a list of indexes of those "Tab page X" elements
and then removing them from the original list. The removal happens in
reverse so we don't mess up the indexes by removing from left to right.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function now works the way I want it to, removing the "Tab page X"
headers with no files under them from the `:tabs` list.

We do this by building a list of indexes of those "Tab page X" elements
and then removing them from the original list. The removal happens in
reverse so we don't mess up the indexes by removing from left to right.
</pre>
</div>
</content>
</entry>
<entry>
<title>Create `s:FilterTabPageElements()`</title>
<updated>2018-04-07T21:10:15+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-07T21:10:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-tabs-grep/commit/?id=db6e5083d9f975c3b63ed8506dcedb0c900309b1'/>
<id>db6e5083d9f975c3b63ed8506dcedb0c900309b1</id>
<content type='text'>
Add a function that will filter out "Tab page 10" elements that don't
have any files under them.

Incomplete for now but I'm committing what I have here because it looks
like I'm going to have to change things around just a bit.

At the moment, the function will take the list of matched `:tabs` lines,
make a list of the indexes of the "Tab page X" elements, and finally
remove the empty "Tab page X" elements from that list, leaving only the
indexes of those with files under them.

Instead what I think I need is a list of the "Tab page X" indexes that
don't have files so I can remove these from the list.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a function that will filter out "Tab page 10" elements that don't
have any files under them.

Incomplete for now but I'm committing what I have here because it looks
like I'm going to have to change things around just a bit.

At the moment, the function will take the list of matched `:tabs` lines,
make a list of the indexes of the "Tab page X" elements, and finally
remove the empty "Tab page X" elements from that list, leaving only the
indexes of those with files under them.

Instead what I think I need is a list of the "Tab page X" indexes that
don't have files so I can remove these from the list.
</pre>
</div>
</content>
</entry>
</feed>
