简体   繁体   English

"在 atom 中进入 Vim 模式"

[英]Entering Vim mode in atom

Once you install the vim packages using the command line in atom, how do you actually enter vim mode in atom as soon as you enter atom?在 atom 中使用命令行安装 vim 包后,如何在进入 atom 后立即进入 atom 中的 vim 模式? What I mean is once you are on the plain text editor screen what are the steps needed to enter vim mode?我的意思是,一旦您进入纯文本编辑器屏幕,进入 vim 模式需要哪些步骤?

Ps I only installed one vim package I am sure that is enough. Ps 我只安装了一个 vim 包,我相信这就足够了。

只需按i即可进入插入模式。

Currently the latest version is vim-mode-plus and the previous version vim-mode is deprecated.目前最新版本是vim-mode-plus ,之前版本的 vim-mode 已弃用。

You need to type atom before vim command.您需要在vim命令之前键入atom

For instance, if you type atom, it should be listed as a command:例如,如果您键入 atom,它应该被列为命令:

在此处输入图像描述

Then you can type vim and the file-name like:然后你可以输入vim和文件名,如:

atom vim example.py

Then you will see the cursor on the upper left corner然后你会看到左上角的光标

在此处输入图像描述

Then you can start coding with the atom.然后你就可以开始用原子编码了。 The other choice is using Idea-vim in Pycharm.另一种选择是在 Pycharm 中使用 Idea-vim。 I agree with Kent because atom editor will enable to use of previous and vim key combinations.我同意 Kent 的观点,因为 atom 编辑器可以使用 previous 和 vim 组合键。 For testing your code you need command-prompt, so why atom?为了测试您的代码,您需要命令提示符,那么为什么要使用 atom 呢?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM