喜欢vim。试过杰纳斯。喜欢这个想法,但它太慢了,100 个插件竞争键绑定。我想真正了解我所做的每个 vim 配置的作用。
有没有办法“取消映射”所有 vim 键或尽可能多。删除大多数命令等。这一点是我自己的练习。我想要一个超小的地图、设置、绑定子集,所以我可以根据需要逐一添加。
你见过这样的努力吗?
Try to run vim with the following command :
"vim -u NONE"
from man vim
-u {vimrc} Use the commands in the file {vimrc} for initializations.
All the other initializations are skipped. Use this to
edit a special kind of files. It can also be used to skip
all initializations by giving the name "NONE". See ":help
initialization" within vim for more details.
It should start vim without any plugin or customisation.
Aside from
:mapclear
:nmapclear
:vmapclear
:xmapclear
:smapclear
:omapclear
:mapclear
:imapclear
:lmapclear
:cmapclear
starting it like
vim -U NONE -C -Z
will start
我尝试做类似的事情并将其发布在reddit帖子上。
我尝试限制我在 vimrc 中定义的映射,只加载一些我认为必不可少的插件。