Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save colonelpanic8/23969ae336df511e11eac4fdf761dd4b to your computer and use it in GitHub Desktop.

Select an option

Save colonelpanic8/23969ae336df511e11eac4fdf761dd4b to your computer and use it in GitHub Desktop.

Most important XMonad bindings cheatsheet

Terminology

Mod is just a weird name for super, which is a weird name for the windows/mac os/system key

dmenu stuff

Mod + p to launch a desktop application with a completing read

Mod + g to select a window to go to from any workspace

Mod + b to bring a window to the current workspace

Navigation

All the navigation commands are directional and use w(up) s(down) (a left) (d right)

Mod + one of these will move between windows (even across screens) directionally

Mod shift will move windows

Mod + control moves windows between screens

Workspaces

Mod + (a number) takes you to a work space

Mod + Control + (a number) moves the current window to that works space and also goes there

Mod + H takes the current window to an empty workspace

Layouts

Mod + space cycles through the different layouts

Mod + control + space takes you to the tabbed layout which is essentially a full screen layout. Just press Mod + space to cycle back to the default 4 column layout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment