On 11/11/11 15:36, Jason wrote:
I just need a very simple plugin, I want do it myself, when I press
{<enter>  , it become

below `I` means cursor

{
    I
}

if I press ({<enter>  it goes to

({
     I
})

|(   =>  (|)
|{   =>  {|}


I don't want to know every thing about plugin development, but I want
to know the most useful things about write a plugins.


I don't think you need a plugin for that. A simple function and an <expr> mapping ought to be enough.

See
        :help :function
        :help map.txt
        :help :map-<expr>


Best regards,
Tony.
--
Another good night not to sleep in a eucalyptus tree.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to