[TriLUG] VIM - back to sqaure one

Turnpike Man turnpike420 at yahoo.com
Thu Oct 21 14:10:44 EDT 2004


Just in case any folks new to VI are reading the thread, thought I'd share my
VI cheat sheet.  If anyone sees anything no up to date about it, let me know.

http://www.turnpike420.net/linux/vi.htm

laters,
David M.

--- Jeremy Portzer <jeremyp at pobox.com> wrote:

> On Thu, 2004-10-21 at 14:07, Jeremy Portzer wrote:
> > 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.
> 
> Oops, disregard.  Doh!
> 
> -- 
> /---------------------------------------------------------------------\
> | Jeremy Portzer        jeremyp at pobox.com      trilug.org/~jeremy     |
> | GPG Fingerprint: 712D 77C7 AB2D 2130 989F  E135 6F9F F7BC CC1A 7B92 |
> \---------------------------------------------------------------------/
> 

> ATTACHMENT part 1.2 application/pgp-signature name=signature.asc
> -- 
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com



More information about the TriLUG mailing list