Posts: 41,665
Thanks: 1,896
Thanked 2,590 Times in 2,442 Posts
Run
Code:
apt-get install vim-nox
and then
Code:
update-alternatives --config editor
and select vim-nox:
Code:
server1:/tmp/dcc-dccproc-1.3.102# update-alternatives --config editor
There are 4 alternatives which provide `editor'.
Selection Alternative
-----------------------------------------------
1 /bin/ed
*+ 2 /bin/nano
3 /usr/bin/vim.tiny
4 /usr/bin/vim.nox
Press enter to keep the default[*], or type selection number: <-- 4
Using '/usr/bin/vim.nox' to provide 'editor'.
server1:/tmp/dcc-dccproc-1.3.102#
Posts: 2,010
Thanks: 254
Thanked 134 Times in 120 Posts
I have 5 options to choose form.
Code:
There are 5 alternatives which provide `editor'.
Selection Alternative
-----------------------------------------------
1 /bin/ed
+ 2 /bin/nano
3 /usr/bin/vim.tiny
* 4 /usr/bin/mcedit-debian
5 /usr/bin/vim.nox
It's the /usr/bin/mcedit-debian that I want (and love).
__________________ Never execute code written on a Friday or a Monday.
Recent comments
11 hours 24 min ago
14 hours 19 min ago
15 hours 33 min ago
16 hours 57 min ago
18 hours 34 min ago
20 hours 3 min ago
21 hours 17 min ago
1 day 13 hours ago
1 day 14 hours ago
1 day 17 hours ago