[tpm] Still looking for lightning talks

Mike Stok mike at stok.ca
Tue Sep 13 07:28:35 PDT 2011


It would be cool to hear about that.

I thought the commands were :w, set … etc., and the scripting language is stuff like this from the bowels of NERDTree:

function! NERDTreeExecFile()
    let treenode = g:NERDTreeFileNode.GetSelected()
    echo "==========================================================\n"
    echo "Complete the command to execute (add arguments etc):\n"
    let cmd = treenode.path.str({'escape': 1})
    let cmd = input(':!', cmd . ' ')

    if cmd != ''
        exec ':!' . cmd
    else
        echo "Aborted"
    endif
endfunction

On 2011-09-13, at 10:03 AM, Fulko Hew wrote:

> 
> 
> On Tue, Sep 13, 2011 at 9:55 AM, <arocker at vex.net> wrote:
> 
> How many people use vim, but don't know about vim's scripting language?
> 
> VIM has commands... I didn't know it also had a scripting language, or
> is that one and the same? 
> _______________________________________________
> toronto-pm mailing list
> toronto-pm at pm.org
> http://mail.pm.org/mailman/listinfo/toronto-pm

-- 

Mike Stok <mike at stok.ca>
http://www.stok.ca/~mike/

The "`Stok' disclaimers" apply.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20110913/262f324a/attachment.html>


More information about the toronto-pm mailing list