snippet slurp
    my $${1:var};
    {
        local $/ = undef;
        local *FILE;
        open FILE, "<${2:file}";
        $$1 = <FILE>;
        close FILE
    }${3}


Open a new Vim window, set the ft to perl, go into insert mode, type "slurp" and hit the tab key to autocomplete...freezes MacVim every time.

Robert

--
You received this message from the "vim_mac" 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