Hi,

On Thu, May 12, 2011 at 7:34 AM, balaji sivanath <[email protected]> wrote:
> Hi,
> I am using nano or gedit to edit any files. Many said editors like vi
> or emacs are powerful, I tried to use vi editor but dont know how to

         Yes, both emacs and vi/vim are quite powerful. When you
read/write huge amounts of code, they do lot of things in a fast and
efficient manner. But both have steep learning curves. Only repeated
use for all tasks will make you comfortable with these editors.

> use it. After going into insert mode if i press arrow keys some random
> alphabet gets printed, if i delete that random characters newline
> spaces are remaining same.
>

       Instead of vi, try using vim. It allows arrow keys, Del, Ins etc.

> To use vi whether i have to get through some tutorials?
>

      IIRC, there used to be some tool called vimtutor. You can try
using that to learn vim. Just type "vimtutor" in the shell. If you
don't have that, on Debian, the package should be vim-runtime.

apt-get install vim-runtime

should install vimtutor.

PS: If you want to try emacs, try install emacs(apt-get install
emacs22 or apt-get install emacs23). Once you are into emacs, Type
Ctrl-h t. That will take you to the emacs tutorial. Thanks

-- 
Thank you
Balachandran Sivakumar

Arise Awake and stop not till the goal is reached.

Mail: [email protected]
Blog: http://benignbala.wordpress.com/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to