[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] VI




I'd probably use a macro.  In your .vimrc (.virc) put something like
this:

map ,is &nbsp

  (The last char is an escapre produced by "ctrl-v esc")


Then in your docuements you can just hit ",is" for the insert and it'll
drop you back into command mode after.  Get rid of the esc at the end
and it'll leave you in insert mode.  Note you have to be in command mode
for macros to work.

Robert


Thus spake tom hawks (tomhawks801 at yahoo.com):

> Probably a simple question. Say i am using a bunch of
>  , what is the command in vi where I dont have to
> type in the whole phrase, just a keystroke or
> something?
> 
> tom
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu 
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Diagnosis: witzelsucht  	

IPv6 = robert at ipv6.rdlg.net	http://ipv6.rdlg.net
IPv4 = robert at mail.rdlg.net	http://www.rdlg.net

 PGP signature