views:

79

answers:

3

Currently my "info" command uses Emacs as its default editor.

$ info printf

Is there a way to change it into Vi/Vim?

A: 

Try to set the VISUAL and EDITOR environment variables to the full path of Vim.

Lennart
+1  A: 

You need something that understands TexInfo, which I don't believe Vi/Vim does. You might just be stuck with emacs. More info at wikipedia.

tvanfosson
+2  A: 

Your best hope that I can see is to run it with the --vi-keys command switch, which "uses vi-like and less-like key bindings". Unfortunately, I don't see anything else that can be of help to you.

Andrew Szeto