Skip to content

Instantly share code, notes, and snippets.

@dahlbyk
Created June 9, 2017 15:30
Show Gist options
  • Save dahlbyk/d6fc58609020c423464ce9409d64fdce to your computer and use it in GitHub Desktop.
Save dahlbyk/d6fc58609020c423464ce9409d64fdce to your computer and use it in GitHub Desktop.
Atom Command + Keymap to Disable vim-mode-plus
atom.commands.add 'atom-text-editor',
'user:toggle-vim-mode': (event) ->
if atom.packages.isPackageDisabled("vim-mode-plus")
atom.packages.enablePackage("vim-mode-plus")
else
atom.packages.disablePackage("vim-mode-plus")
'atom-workspace':
'ctrl-alt-V': 'user:toggle-vim-mode'
@arteika
Copy link

arteika commented Jun 13, 2019

Failed to load C:\Users\xxx\.atom\keymap.cson

[stdin]:1:18: error: unexpected newline
'atom-workspace':

tried to merge the both lines, without any luck. Comments?

@dahlbyk
Copy link
Author

dahlbyk commented Jun 14, 2019

Not sure, haven't used Atom in quite a while now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment