| View previous topic :: View next topic |
| Author |
Message |
first-priority Active Member


Joined: 04 May 2008 Posts: 36
|
Posted: Wed Jul 22, 2009 5:29 am Post subject: Best of the vi editer |
|
|
When crortab is started, nano stands up.
Because not easy to use nano vi editer
let's we change
| Code: | vyatta:~# aptitude install vim
vyatta:~# update-alternatives --config editor
There are 4 alternatives which provide `editor'.
Selection Alternative
-----------------------------------------------
1 /bin/ed
+ 2 /bin/nano
* 3 /usr/bin/vim.basic
4 /usr/bin/emacs22
Press enter to keep the default[*], or type selection number: 3
Using '/usr/bin/vim.basic' to provide 'editor'. |
Recommended method
Vi editer
http://www.vyatta.org/forum/viewtopic.php?t=2475
Terminal emulator
http://www.vyatta.org/forum/viewtopic.php?t=2495
FREE WEB HOSTHING
FIRST-PRIORITY.YI.ORG
support@first-priority.yi.org |
|
| Back to top |
|
 |
tpb Forum Newbie

Joined: 17 Jun 2009 Posts: 5
|
Posted: Fri Aug 14, 2009 6:46 pm Post subject: |
|
|
Or, if you were weaned on emacs but want something as light as nano:
# aptitude install jed
# 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/jed
Press enter to keep the default[*], or type selection number: |
|
| Back to top |
|
 |
|