gridaphobe/evil-god-state — pull request #1 by tad-ashlock (2014-08-23 15:37:58+00:00)
Title: Bailing, prefix arguments, and command cycling

Everyone I know who uses evil-god-state has had problems with getting stuck in it. Until we found the 'bail' code, we were ready to give up on evil-god-state. For that reason, I think it should be part of the base package.

Evil-god-state was aborting whenever I hit 'u' (for Ctrl-u). This made prefix arguments impossible. The trick is to detect when prefix arguments are being added and stay in evil-god-state.

With the command cycling change, Org Mode is easier to use with evil-god-state. I leave (Ctrl-i) for jumping forward, then use evil-god-state to run org-cycle with "SPC i". But this only works if evil-god-state doesn't change the value of the 'last-command' variable.