I've been wanting to use 'jj' to enter normal mode on the command line for some time. This solution actually didn't work for me, but adding the following to my .zshrc did:
bindkey -M viins 'jj' vi-cmd-mode bindkey -M viins 'jj' vi-cmd-mode