Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 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
7 hours 14 sec ago
11 hours 59 min ago
13 hours 25 min ago
14 hours 18 min ago
16 hours 1 min ago
20 hours 24 min ago
21 hours 16 min ago
23 hours 30 min ago
1 day 12 hours ago
1 day 14 hours ago