[TriLUG] VIM - back to sqaure one
Jeremy Portzer
jeremyp at pobox.com
Thu Oct 21 14:07:35 EDT 2004
On Thu, 2004-10-21 at 13:40, gregbrown at mindspring.com wrote:
> Should I try to break this evil cycle by hitting the escape key on
> the line with a comment then hitting the 'a' key I still get a "#"
> when I go to the nextline. I cannot "j" down at this point because
> this is the last line of the file. So, my only option seem to be
> hitting enter to get to the next new line, hitting escape to exit
> interactive mode, then "dd"ing the current line, the hitting 'i" for
> interactive mode, then hitting enter. Now I have a fresh blank
> line, viens throbbing in my head, teeth ground to dust, and rage
> induced blurred vision.
I don't understand why you aren't using the "o" key to add a new line
after the current one, as Dan already suggested. It doesn't put the
extra # sign as best I can tell, at least with my version of vim.
Jeremy
--
/---------------------------------------------------------------------\
| Jeremy Portzer jeremyp at pobox.com trilug.org/~jeremy |
| GPG Fingerprint: 712D 77C7 AB2D 2130 989F E135 6F9F F7BC CC1A 7B92 |
\---------------------------------------------------------------------/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20041021/b58e0100/attachment.pgp>
More information about the TriLUG
mailing list