如何将 spacemacs 从 helm 更改为 ivy?

How how to change spacemacs from helm to ivy?

在初始设置期间,spacemacs 询问,"What type of completion framework do you want?",我选择了 "helm"。

现在我想改用ivy。 如何将 spacemacs 从 helm 更改为 ivy? 在我的 ~/.spacemacs 文件中出现了 16 次 "helm"。

我在 ~/.spacemacs 文件的顶部添加了 "spacemacs-ivy" 并重新启动,但这没有用 如 https://www.reddit.com/r/emacs/comments/407q2c/ivy_is_now_available_in_spacemacs/ 中所述。 重新启动 emacs 时说 "Spacemacs encountered an error while loading your '.spacemacs' file."

如果没有 .spacemacs 文件,Spacemacs 会询问一些问题并创建一个新的 .spacemacs 文件。

我通过删除 .spacemacs 文件然后重新启动 emacs 重新安装了 spacemacs。 我回答了这样的问题:

What is your preferred editing style? vim
What distribution of spacemacs would you like to start with? spacemacs
What type of completion framework do you want? ivy

现在安装了 ivy。

我只是将 ivy 与配置文件中的其他层名称一起放入 ivy 中,一切似乎都有效。

而且我不知道是否应该在 .spacemacs 的 "top" 处添加任何内容。