the key goal here seems to be to remove temptation. for me just switching to a virtual console and firing up vim there would be enough because switching back to the gui would involve typing a long password which i believe for me would be deterrent enough to not keep switching on a whim. if you are not as easily tempted then running a terminal in fullscreen might just be enough.