<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vim-tabs-grep/autoload, branch master</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>Take a glob instead of a regex pattern</title>
<updated>2018-04-19T19:21:23+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-04-19T19:21:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/vim-tabs-grep/commit/?id=2bd37ac201efda3bf93a0eb4c70e45fa952d8fa0'/>
<id>2bd37ac201efda3bf93a0eb4c70e45fa952d8fa0</id>
<content type='text'>
Globs make it easier to match file and directory names. For example,
instead of writing:

    :TabsGrep utol.*grep

we can write:

    :TabsGrep utol*grep

Discovered `glob2regpat()` in the help while searching for a way to take
a glob in my command and it ended up being the perfect thing, yay.

Needed to slice the regex returned by the function to discard the first
and last characters, as it automatically adds `^$` delimiters around the
generated regex pattern. This doesn't make sense for our use case
because we want to be able to start writing from anywhere in the middle
of the path, and not have to add `*`s to the beginning and end.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Globs make it easier to match file and directory names. For example,
instead of writing:

    :TabsGrep utol.*grep

we can write:

    :TabsGrep utol*grep

Discovered `glob2regpat()` in the help while searching for a way to take
a glob in my command and it ended up being the perfect thing, yay.

Needed to slice the regex returned by the function to discard the first
and last characters, as it automatically adds `^$` delimiters around the
generated regex pattern. This doesn't make sense for our use case
because we want to be able to start writing from anywhere in the middle
of the path, and not have to add `*`s to the beginning and end.
</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>
</feed>
