Use the code below to quickly view all the active hotkeys in your i3wm config file:


grep "^[ ]*bindsym" ~/.i3/config | sed -e 's/^[ ]*bindsym //' -e 's/^[ ]*$mod/win/' | less


i3wm has a lot of functions that come assigned to hotkeys by default. I’m constantly forgetting them.

For example, sometimes I’ll toggle the tabbed layout (which I never use) and then I have to look up how to turn it back.

I whipped out this little script so that I can quickly look up all the active hotkeys right from the terminal.

Tip: If you use i3wm, you might want to disable some of the hotkeys you never use (or only use on accident). I disabled changing to tabbed layout today.