Posts tagged with vim
Since I reached an acceptable milestone with PieCrust performance recently,
I had some free time again to catch up with some of my other projects. The first
one to get some love is Gutentags, my tag-management Vim plugin, which was
sitting there with a bunch of pull requests and bug reports.
The newest version of Gutentags includes better support for project-specific
settings via the
.gutctags file, some progress on supporting Cscope (not quite
finished yet), and various bug fixes, all from a few generous (and patient)
Grab it from Bitbucket or Github, depending on your preferred
Autotags is my second “official” Vim plugin (after Lawrencium). It confirms
a trend of having a terrible name (although this time for different reasons),
but I’m open to changing it since it’s still early. And as that terrible name
implies, this new plugin is all about automatically managing your tags.
Edit: thanks to Reddit, it was renamed to Gutentags! I edited this
post after this point to use the updated name and links.
After my Mercurial plugin for Vim, Lawrencium, here’s my second officialVim plugin! You won’t be surprised to know it’s a PieCrust plugin which adds a
few commands that make it easier to work on your website. It’s of course named
vim-piecrust” and is available on BitBucket.
Well, actually, at the moment it’s only got on command:
Pcedit. You will need
the latest PieCrust to make it work. When you do, typing
something<tab> in Vim will bring an autocomplete list that contains any page,
post or template that contains “
something” in its filename. It makes it very
quick to edit files in your website.
I’ll add more commands in the future of course.
I’ve been using Vim for quite a while now, and by no means am I an expert in it
(I’m still learning all kinds of cool tricks every week), but I recently decided
it was time to write my first plugin. And because I mostly use Vim at home,
where I work with Mercurial, I figured I could write a Mercurial plugin for Vim.
Steve Losh had been asking for such a plugin for quite some time so I
thought that might be helpful to at least another guy besides me. And
ironically enough, I started learning Vimscript with Steve’s very own
book-in-progress, “Learn Vimscript the hard way”.
The result of this initiative is Lawrencium, which is available on
Bitbucket and at Vim.org.
There’s a good description of how it works on the Bitbucket page, and you’ll see
it’s inspired in some parts by Tim Pope‘s Fugitive plugin, which wraps Git
workflows and features inside Vim.
It’s still a work in progress so be sure to leave some feedback here or in theissue tracker.