是否可以获取vim执行的所有命令的列表。我使用:mkvimrc
这很有帮助,但更好的是如果我可以恢复已执行的命令,但我意识到这是不可能的,所以我想尽可能恢复,同时我仍然打开vim
获取命令和功能也很有帮助。现在,我手动完成它。
我应该说我有一个.vim
文件夹,其目录结构为子*.vim
个文件,我有插件。
答案 0 :(得分:0)
它不完全是您想要的,但-w
启动选项可能会有所帮助。
:h -w
*-w*
-w {scriptout} All the characters that you type are recorded in the file
"scriptout", until you exit Vim. This is useful if you want
to create a script file to be used with "vim -s" or
":source!". When the "scriptout" file already exists, new
characters are appended. See also |complex-repeat|.
{scriptout} cannot start with a digit.
{not in Vi}
*-W*
-W {scriptout} Like -w, but do not append, overwrite an existing file.
{not in Vi}