so im fairly new to atom and using it for a specific case.
I have a package that has a toggle, and in the keymap I have:
that works according to the resolver, however the command itself I’m having issues with.
in the init.coffee im trying:
atom.commands.add ‘atom-text-editor’, ‘custom:gw-command’, ->
editor = atom.workspace.getActiveTextEditor()
everything up to the toggle part works but I’m having issues finding a reference that would show how to use toggle as a scripted command.
any help or pointers is appreciated!