vim取消映射所有内容(完全剥离vim)

ulv*_*ver 5 vim editor janus

爱vim.试过Janus.就像这个想法,但它太慢了,100个插件竞争键绑定.我想真正理解我所做的每个vim配置.

有没有办法"取消映射"所有vim键或尽可能多.删除大多数命令等.这点是我自己的练习.我想要一个超小的地图,设置,绑定子集,所以我可以根据需要逐个添加.

你见过这样的努力吗?

Xav*_* T. 6

尝试使用以下命令运行vim:

"vim -u NONE"

来自男人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.
Run Code Online (Sandbox Code Playgroud)

它应该在没有任何插件或自定义的情况下启动vim.

  • +1,用大量的插件学习Vim是错误的方法. (2认同)

seh*_*ehe 5

除了

:mapclear
:nmapclear
:vmapclear
:xmapclear
:smapclear
:omapclear
:mapclear
:imapclear
:lmapclear
:cmapclear
Run Code Online (Sandbox Code Playgroud)

像这样开始

vim -U NONE -C -Z
Run Code Online (Sandbox Code Playgroud)

将开始

  • -U 没有启动文件
  • -C 兼容模式
  • -Z 限制模式

  • @ZyX:OP 要求“完全剥离 vim”;我不是说任何人都需要那个。我只是指着他可以使用的东西 (2认同)