0

I have both GVim and Neovim installed. When I open a file in Vifm, it is opened in GVim and not in Neovim.

How to make Neovim the default editor for Vifm?

4
  • This question is probably off-topic here since it is about Vifm. I think it should be migrated to SuperUser or Unix & Linux.
    – Quasímodo
    Sep 19 '20 at 15:58
  • @Quasímodo , How to migrate it?
    – Jdeep
    Sep 19 '20 at 16:24
  • Since it got an answer, maybe it is better for it to stay here? Hopefully the moderators will know better.
    – Quasímodo
    Sep 19 '20 at 16:34
  • I'm inclined to think this is off-topic as well; we'll discuss what to do with it. In the meantime, it's possible vifm relies on EDITOR or VISUAL
    – D. Ben Knoble
    Sep 19 '20 at 17:15
3

Change set vicmd=vim to set vicmd=nvim in your vifmrc.

2
  • @Quasímodo from their docs, it looks like the default value of vixcmd is the value of vicmd, and you would only set it if you want something else to run in an X session. Is that incorrect? Sep 19 '20 at 16:03
  • True! I missed that, sorry. (Although it might be worth the mention.)
    – Quasímodo
    Sep 19 '20 at 16:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.