Use TextEditor::getLastCursor

Signed-off-by: Nathan Sobo <nathan@github.com>
Use TextEditor::onDidChange

Signed-off-by: Nathan Sobo <nathan@github.com>
Don't use Config::toggle

Signed-off-by: Nathan Sobo <nathan@github.com>
Avoid pane-item deprecation warning in spec
Use CommandRegistry::dispatch