Thursday, August 7, 2008

Vi editor in Hardy Heron

aarklon

i find it very difficult to the edit the files such as /etc/hosts, /etc/network/interfaces .... using vi editor , in ubuntu 8.04, has the commands changed ?


weibullguy

The vi commands? No, those have nothing to do with Ubuntu. If you don't like vi, why not use a different editor like nano, pico, joe, emacs, gedit, mousepad, kate, kedit, etc., etc., etc.


JKZfixme

I sometimes have issues w/ vi in ubuntu as far as it just plain acting funny , to solve i install and use vim or "VI iMproved"


amani

If I type vi, I get vim. That works fine


turthird

I use the gnome one - gedit. I find it much easier, unless you want to do something clever.
e.g. At terminal type

Code:

sudo gedit /etc/hosts/filename
That is how I edit any config files that need changing.


ciden

Maybe you will be happier with
Code: # nano

it is wysiwyg, and is a bit more intuitive.
Why I suggest this is because it is already installed by default in Ubuntu.


kihjin

You are really using vi or are you using vim? Check out your /etc/vim/vimrc file, make sure it's to your liking.Specifically make sure either set nocompatible is set or if compatible is set, comment it out!Also you might have a conflicting .vimrc in your home directory, check that out too.

No comments:

Post a Comment