是否有用于记事本++的vim插件?

时间:2012-10-10 10:18:18

标签: vim plugins notepad++ text-editor

关于vimnotepad++有很多问题和答案,但并不是很明确,让notepad++行事的最佳方法是vim(如果它是可能的。)

更新
似乎这个问题需要一些关于我动机的额外信息。我认为自己是一个vim初学者。我很难在某个时刻改变我的编辑器。我认为,比我当前编辑的vim插件可以让我轻松地在新环境中感受到更多的舒适感。

4 个答案:

答案 0 :(得分:42)

您可以尝试使用ViSimulator for Notepad ++,它可能会在某种程度上满足您的要求。它是notepad ++的一个插件,它可以在notepad ++中编辑为vi / vim。 ViSimulator模拟/模拟最常用的vi / vim命令,为记事本++提供更强大的编辑功能。

作为网站上的描述,它支持一些命令:

0: move the cursor to colum 1 (hard beg-of-line)
$: move the cursor to end-of-line
^: move the cursor to the first non-blank character (soft beg-of-line)
-: move the cursor to the first non-blank character (soft beg-of-line) of the previous [count] line 
+, <RETURN>: move the cursor the first non-blank character (soft beg-of-line) of the next [count] line
hjkl: move the cursor left, down, up and right [count] colum/line
and more...

可以到达ViSimulator https://web.archive.org/web/20150515145616/http://www.visimulator.com/download.html。原始页面不再可用。

答案 1 :(得分:30)

Vim的大部分内容都源于它是模态编辑器的事实。如果没有办法将NP ++变成模态编辑器,你将无法走得太远。快速查看NP++ plugins page显示没有Vi [m]插件,所以我回答“否”。

无论如何,学习Vim的最好方法就是使用它。我建议你继续使用NP ++进行认真的工作,并强迫自己将Vim用于其他一切。有一次,如果有的话,你会做好准备,放弃NP ++并使用Vim全职。

答案 2 :(得分:2)

有用于记事本++的ViSimulator插件。您可以通过以下两种方式安装插件。

  1. 通过Notepad ++插件管理器。转到记事本菜单插件 - &gt;插件管理器 - &gt;显示插件管理器。在弹出对话框中,选择“可用”选项卡,然后在插件列表中选择“visimulator”。然后单击“安装”按钮完成。

  2. 手动安装。从ViSimulator download页面下载插件,作为dll文件。转到Notepad ++安装目录 - &gt;插件文件夹,并在那里复制并粘贴dll文件。重新启动Notepad ++,你们都已经完成了设置。你会注意到主菜单'Plugins'下还有一个菜单选项ViSimulator

答案 3 :(得分:0)

有ViSimulator插件!

 Version 0.3.0.659 ( ANSI / Unicode ) 

ViSimulator

ViSimulator for notepad++ is a plug-in for notepad++, which make it possible to edit as vi/vim in notepad++. ViSimulator simulate/emulate most frequently-used vi/vim commands

为记事本++提供更强大的编辑功能。

simon2013 来源:来自下载页面

链接:https://web.archive.org/web/20150515145616/http://www.visimulator.com/public/p/visimulator.dll

来自NP++ plugins page

/ is a synonym of standard npp search/replace dialog.
: seems not working.

抱歉,我的英语不好。

相关问题