Skip to content

Instantly share code, notes, and snippets.

@ivanoats
Created March 30, 2016 17:43
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 ivanoats/6f8780e43dca5cb57154a9ebbb19b229 to your computer and use it in GitHub Desktop.
Save ivanoats/6f8780e43dca5cb57154a9ebbb19b229 to your computer and use it in GitHub Desktop.
Redo for ex-mode
atom.packages.onDidActivatePackage (pack) ->
if pack.name == 'ex-mode'
Ex = pack.mainModule.provideEx()
Ex.registerCommand 'redo', ->
atom.workspace.observeTextEditors (editor) ->
editor.redo()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment