Vim bindings demoVim绑定演示文档

Note:注意: The CodeMirror vim bindings do not have an active maintainer. CodeMirror vim绑定并不具有一个活动的维护者。 That means that if you report bugs in it, they are likely to go unanswered. 这意味着如果你报告了bug,很有可能得不到回应。 It also means that if you want to help, you are very welcome to look at the open issues and see which ones you can solve.这也意味着如果你想要帮助,建议你看看the open issues并看看哪个能够帮助你。

Key buffer: 键缓冲:

The vim keybindings are enabled by including keymap/vim.js and setting the keyMap option to vim.通过包含keymap/vim.js并把keyMap配置项设置为vim来启用vim键绑定。

Features功能

For the full list of key mappings and Ex commands, refer to the defaultKeymap and defaultExCommandMap at the top of keymap/vim.js.欲得完整的键映射和Ex命令列表,请参考keymap/vim.js顶部的defaultKeymapdefaultExCommandMap

Note that while the vim mode tries to emulate the most useful features of vim as faithfully as possible, it does not strive to become a complete vim implementation请注意,尽管VIM模式试图尽可能忠实地模拟VIM最有用的特性,但它并不努力成为完整的VIM实现。