Today I Learned

A Hashrocket project

Ready to join Hashrocket? Find Openings here and apply today.

Alternative to the escape key in Vim

Sometimes you need to escape, and you can’t use the esc key. Whether its missing, on a touch bar, or you simply don’t want to stretch your fingers away from home row, it’s nice to have another option.

In Vim, Ctrl+[ sends an escape character, equivalent to pressing the escape key.

Now you can easily get back to normal mode.

Every developer at Hashrocket is a Vim expert. Check out our development environment, Dotmatrix, and if you are in Chicago, come to the Vim Chicago Meetup hosted at our Chicago office.