Forum SubscriptionsForum Subscriptions   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Best of the vi editer

 
Post new topic   Reply to topic    Vyatta.org Forum Index -> Hackers
View previous topic :: View next topic  
Author Message
first-priority
Active Member
Active Member


Joined: 04 May 2008
Posts: 36

PostPosted: Wed Jul 22, 2009 5:29 am    Post subject: Best of the vi editer Reply with quote

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
View user's profile Send private message
tpb
Forum Newbie
Forum Newbie


Joined: 17 Jun 2009
Posts: 5

PostPosted: Fri Aug 14, 2009 6:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Vyatta.org Forum Index -> Hackers All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum