命令 with/without `default:` 前缀之间有什么区别?

What're the differences between commands with/without the `default:` prefix?

带有 default: 前缀的命令列表:

而且它们都有一个没有default:前缀的版本,它们之间有什么区别?

引自vim-sample/README.md

  • When a keydown is not matched by any keybinding rule, it might produce a character. This is dispatched to the type command.
  • It is, therefore, possible for an extension to overwrite the type command and handle characters instead of the VS Code editor.
  • There is a default:type command that maps to the VS Code editor's type handler in case an extension wishes to delegate back typing to VS Code.

有关用法示例,请参阅 vim-sample/src/extension.ts