I am programming using R in Linux and each time I want to edit a function by typing
fix(FunctioName)
The VI editor is used and for me, it
As always, export the desired editor in $EDITOR or $VISUAL before starting.
$EDITOR
$VISUAL
Or in R, to override the environment variable:
options(editor = "nano")