Skip to content

Instantly share code, notes, and snippets.

@sha1sum
Last active April 5, 2016 22:08
Show Gist options
  • Select an option

  • Save sha1sum/85ec48fc010a1d549c666df886b18101 to your computer and use it in GitHub Desktop.

Select an option

Save sha1sum/85ec48fc010a1d549c666df886b18101 to your computer and use it in GitHub Desktop.
atom.commands.add 'atom-text-editor', 'custom:vim-mode-and-core-cancel', ->
editor = atom.views.getView(atom.workspace.getActiveTextEditor())
atom.commands.dispatch(editor, 'vim-mode-plus:activate-normal-mode')
atom.commands.dispatch(atom.views.getView(atom.workspace), 'core:cancel')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment