Tutorial hero
Lesson icon

Cheatsheet background

Originally published September 22, 2022 Time 2 mins

I’ve got another workflow tip for you this week, and this is one of my favourite new tricks I’ve added recently. I’m sure I’m not the first person to think of this, but I was feeling pretty happy with myself.

I already have a hotkey window set up for my iTerm terminal. You could likely set this up in other environments, but the basic idea is that I am able to quickly launch a full screen terminal just by hitting Opt+Space.

That is cool and useful in itself, but I’ve shown you that before and it is not the tip. It is just a pre-requisite for the tip.

The actual tip is to create a cheatsheet.png file, and you can use that to display references/snippets/keys or whatever you are currently trying to learn.

You can then set that cheatsheet.png file as the background for your terminal, and now you can instantly pop up a cheat sheet by hitting the keyboard shortcut for your hotkey window. You can edit the cheat sheet file whenever you want, and it will update in your terminal once you restart it.

This is useful in general as a cheat sheet for any circumstance, not just for specifically when you are working in the terminal. That is what I am using it for at the moment though:

cheat sheet in terminal

I’ve been trying to improve my vim skills, and now I have a cheatsheet for the vim commands I am currently learning literally in the background of my vim editor!

Learn to build modern Angular apps with my course