安装了 vscodevim 扩展后,如何在 vim-emulation 和 no-vim-emulation 之间切换? [英] How to toggle between vim-emulation and no-vim-emulation when the vscodevim extension is installed?

查看:25
本文介绍了安装了 vscodevim 扩展后,如何在 vim-emulation 和 no-vim-emulation 之间切换?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我还没有找到一种无需在扩展"面板中完全禁用扩展即可快速执行此操作的方法.在 IntelliJ IDEA 中,可以使用可配置的键盘快捷键轻松打开/关闭仿真.我想这在 VSCode 中也应该是可能的.

I haven't found a way to quickly do this without having to entirely disable the extension in the "Extensions" panel. In IntelliJ IDEA, one can easily toggle on/off the emulation with a configurable keyboard shortcut. I guess it should also be possible in VSCode.

推荐答案

VSCode 与 atom 具有相同的命令系统.这些命令可以通过命令面板"启动,也可以绑定到组合键.

VSCode has the same command system as atom. These commands can be started through the "command palette" and also bound to a key-combo.

对应的命令是toggleVim.您可以使用齿轮图标> 键盘组合将此命令绑定到一个键(抱歉,我不知道如何切换语言以获得准确的描述:))> 在搜索栏中输入toggleVim".然后你可以给它分配一个组合.

The corresponding command is toggleVim. You can bind this command to a key using the gear-icon > keyboard combos (sry, i don't know how to switch the language for an exact description :) ) > enter "toggleVim" to the searchbar. Then you can assign a combo to it.

实际上,扩展将被禁用或快速启用.

Effectively the extension will be disabled or enabled quickly.

这篇关于安装了 vscodevim 扩展后,如何在 vim-emulation 和 no-vim-emulation 之间切换?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆