Avoid ESC in Vim

OK, this is one of those times when I’ve been humbled again.  I’ve been using Vim for over a decade now, and once in a while it occurred to me that using ESC to exit to normal mode is NOT the most efficient thing ever.  Maybe my little finger is too little, or maybe my keyboards are too large.  But reaching ESC with while in the middle of crazy typing session broke my concentration a few times.  But somehow I just thought that it is one of those most natural Vim things that I had to get used to.  Today, I came across something genius that told me that I don’t have to.  If you have the same problem, edit your .vimrc file and add the following lines:

" exit to normal mode with 'jj'
inoremap jj <ESC>

Once you load your new configuration, typing ‘jj‘ in insert mode will be equivalent to press ESC key.  Brilliant!

Mustachify.me web service

Mustachify.me web service

Here is a nice little web service that, given an image, recognizes faces and adds mustaches to each face on the picture.  Appearing as mildly funny and mostly pointless at first, it actually packs some impressive technology.  I’ve thrown a whole bunch of different images at it, and all the faces were recognized correctly.  Not only that, but the mustaches were tilted appropriately to match the face angle.

GitHub’s free alternatives

Personally, I love GitHub.  And I try to promote it as much as I can, and I’ve even got a few organizations setup their repositories there.  However, I am still asked once in a while for a good alternative.  These work either for people who don’t have the money to pay for GitHub’s private repositories, or who are required to keep their code in-house.

Here are a few alternatives to the GitHub hosting service. There are two types of software: locally installed software and hosted.  These are decent for smaller companies that don’t have the budget for licensing a hosted service.

Free Local Install

  • gitlabhq.com – this project looks really good, with new releases every month.
  • gitorious – solid, free alternative to GitHub.

Free Hosted

  • gitorious.org –  open source projects are free, like github.
  • bitbucket – unlimited free private repositories for up to 5 users. The pricing model is similar to the other Atlassian products.

Also, have a look at Sourcegraph, which you can host yourself or pay for a hosted service.