Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iyanski/8716927 to your computer and use it in GitHub Desktop.
Save iyanski/8716927 to your computer and use it in GitHub Desktop.
# Run this one-liner from the Sublime Text console if you need to revert all open documents
[ view.run_command('revert') for view in sublime.Window.views(sublime.active_window()) ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment