LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] vim's perl mode...

[ILUG] vim's perl mode...

kevin lyda kevin+dated+1093271536.15a773 at ie.suberic.net
Wed Aug 18 15:32:06 IST 2004


so has anyone found a vim perl mode that does auto- indenting/deindenting
like vim's c mode?  for instance when i type this in vim's c mode:

    if (drink()) {<ret>tea();<ret>} else {<ret>coffee();<ret>}

i get:

    if (drink()) {
        tea();
    } else {
        coffee();
    }

however when i do that in perl i get:

    if (drink()) {
    tea();
    } else {
    coffee();
    }

of course perl's syntax is really, really, really complex compared to
c's.  so maybe it's just not possible.

kevin

-- 
american citizen?  register to vote: ~ florida voters - make sure you
https://register.votenet.com/LWV/    ~ haven't been struck from the
live overseas?  look here:           ~ voting lists.  check for your name
http://www.tellanamericantovote.com/ ~ here: http://tinyurl.com/2hbuj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux.ie/pipermail/ilug/attachments/20040818/96d655db/attachment.pgp


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell