73
edits
Changes
m
s/Switching:/Switching Tabs:/
We'll write this command in two steps. The first step is creating a tab noun-type. The second step is using that noun-type to create the tab-switching command.
=== SwitchingTabs: Writing your own Noun-Types ===
A noun-type needs to only have two things: A <code>label</code> and a <code>suggest()</code> function. It can optionally also have a <code>default()</code> function.