When defining commands for keymaps or menus to call, how does one name or setup the command to point to a function call in a particular library or file? For example, if I do the following within a file named blah.cson in my projects keymaps directory
'.workspace': 'ctrl-alt-h': 'blah:toggle'
What do blah and toggle refer to in the command mapping?
- Does toggle after the colon refer to a function called toggle?
- Does blah refer to a file named lib/blah.[js|coffee]?
Currently I’ve noticed that in my project with :toggle on the end, it invokes the activate function once but subsequent invocations do nothing. And without the :toggle on the end, it seems to do nothing.