VI editor

I have a question........... good place to come, I suppose....

I'm using vi on a LINUX box(its Debian, I think). When I want to edit a previously created file I type :i and then the text. This always causes hassle as it never puts the text where I want it to go........

How can I get around this?? Is there a way to solve this??? :confused:

Where do you want to put the text?

Read the man page for vi -

a append after cursor
A append at end of line
i insert before cursor
I insert before first non-blank
o open line below (cursor position)
O open line above
....

To put it directly, you don't need the ':'

One of my friends said much the same thing - read the man pages - but his version was RTFM, with the F standing for a BAD(!!!) word! I couldnt find exactly what I wanted........

Tried o and that seems to work - Thanks for the help!:frowning:

RTFM = Read The Fine Manual

At least, that's my response when I'm asked to expand the abbreviation. :wink:

Here's a tutorial to check out: http://www.thomer.com/vi/vi.html

If that's not what you want, check out google. :smiley: