Попробуйте это:
system_profiler | grep 'System Version'
Ответ Mike Gray лучше, чем это. Посмотрите это
От man less
,
v Invokes an editor to edit the current file being viewed. The editor is taken from the environment variable VISUAL if defined, or EDITOR if VISUAL is not defined, or defaults to "vi" if nei‐ ther VISUAL nor EDITOR is defined. See also the discussion of LESSEDIT under the section on PROMPTS below.
Просто установите норму EDITOR
переменная среды согласно Вашим пожеланиям, например. export EDITOR=vim
в ~/.bashrc
или что-то как этот.
Можно также сделать псевдоним
alias v='vim'
и сохраните его в Вашем /.bashrc