Thanks in advance.
And by the way, both the faq
(http://vimdoc.sourceforge.net/cgi-bin/vimfaq2html3.pl) and the tips
archive (http://www.vim.org/tip_index.php) seem to be broken...
Put this in your vimrc (I hope you have one and know a little about how it works!):
:set virtualedit=onemore
See
:help 'virtualedit'
Ben.
I don't find it weird personally, and I don't think 'a' is any harder to
use than i, and you can also use i and then move cursor one char to the
right, as well.
However, there is a 'virtualedit' option that allows you to move one
char past end of line:
:set virtualedit=onemore
see
:help 'virtualedit
-Rainyday
There is also:
:set virtualedit=all
:help virtualedit
One advantage of using A to append to end of a line is that the
operation can be repeated on another line by pressing . (if you
happen to need the same text appended to more than one line).
> And by the way, both the faq
> (http://vimdoc.sourceforge.net/cgi-bin/vimfaq2html3.pl) and
> the tips archive (http://www.vim.org/tip_index.php) seem to
> be broken...
The FAQ is now at:
http://vimhelp.appspot.com/vim_faq.txt.html
The tips are at:
http://vim.wikia.com
John
Just one thought, in addition to the others: A major benefit of using
'A' is that you can do it from anywhere in the line, without cranking
the cursor all the way there first. (OK, you can pause for a sip of
coffee while waiting for the cursor to run up there, for 'i' to work,
and that may be a counter-benefit. ;-)
And, as said, being able to '.' on other lines can be a big productivity
bonus.
Erik
--
The truly lazy person puts in the time & effort to learn how to do
things the easy way and reaps the laziness benefits for years
afterwards. - Craig Sanders, on luv-main ML.
Nice.
Yes, I have a vimrc and I know how it works.
Well, after reading the replies and the help entry for virtualedit, I
think I'll leave it as it is after all.
Thank you and everyone else who helped. :)