A few mappings to help boost your Vim workflow.
Rotate through different line numbering settings
Switch between absolute line numbers (normal), relative numbers (based on distance from your cursor) and no numbers at all using CTRL-n:
if(&relativenumber == 1)
elseif(&number == 1)
nnoremap :call NumberToggle()
Continue reading Useful Vim Mappings
It’s FileMaker Developer Conference time, with 8 Beez in San Antonio for DevCon. We’re studying new development techniques from FileMaker Inc. and our industry peers, sharing a few methods of our own and even riding a few mechanical bulls at a real live cattle ranch!
Several members of Beezwax’s development team are featured presenters at FileMaker DevCon 2014, in the following sessions:
Continue reading hello San Antonio. hello FileMaker DevCon.
[Authored by Sam]
In beezwax’s webdev division we generally work in pairs, but our commit logs didn’t used to show this. We wouldn’t bother to reconfigure the git author every time we sat down with a new pair so our git log only recorded one of the programmers’ names. Bryan Helmcamp has a nice script for setting your git commit author in pair programming situations. Here’s another one which works interactively.
Continue reading Setting the Commit Author to Pair Programmers’ Names in Git
[Authored by Sam]
I love git and I love to be lazy, so lately I’ve been playing with git hooks.
Git’s default pre-commit hook is really handy, but today I’m in more of a post-commit kind of mood. Like all git’s hooks it comes with an example script.
This one isn’t particularly useful. It evaluates Nothing and returns a successful exit code. Big deal.
Git’s default post-commit hook.
# An example hook script that is called after a successful
# commit is made.
# To enable this hook, make this file executable.
Continue reading A Use For Git’s Post-Commit Hook