On Sep 15, 10:57 pm, Robert H <sigz...@gmail.com> wrote:
> On 9/14/09 9:30 PM, David Turetsky wrote:
>
> > Of course, you could also be going crazy!
>
> I agree with that one.
>
> I had an inoremap in an old .vimrc that did autocomplete from { ( [
> brackets.
>
> Robert

Maybe something like

inoremap                {       {<CR><CR>}<Up>
inoremap                [       []<Left>
inoremap                (       ()<Left>

? (The special treatment for braces is because of the assumption that,
in C code (or similar), you want { and } at the end and start of a
line respectively, with the bracketed code on the intervening lines).


Best regards,
Tony.
--
So as your consumer electronics adviser, I am advising you to donate
your current VCR to a grate resident, who will laugh sardonically and
hurl it into a dumpster.  Then I want you to go out and purchase a
vast
array of 8-millimeter video equipment.

... OK!  Got everything?  Well, *too bad, sucker*, because while you
were gone the electronics industry came up with an even newer format
that makes your 8-millimeter VCR look as technologically advanced as
toenail dirt.  This format is called "3.5 hectare" and it will not be
made available until it is outmoded, sometime early next week, by a
format called "Elroy", so *order yours now*.
                -- Dave Barry, "No Surrender in the Electronics
                   Revolution"

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to