ability to job_start( vimscript code

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

ability to job_start( vimscript code

Ni Va

Just Would like to know if it is possible to job_start a vim script function or vimscript code.

Like this :

        let fichierEntree=expand('$tmp/vim/src/gui.h')
        let mylist = readfile(fichierEntree,'b')
        let idx = 0
        for line in mylist
                if stridx(item,'\(TOOLBAR_BUTTON_\w\+\s\+\)\d\+')>-1
                        let mylist[idx]   = substitute(item,'\(TOOLBAR_BUTTON_\w\+\s\+\)\d\+',submatch(1).'48',"")
                let idx+=1
        call writefile(mylist,fichierEntree,'b')


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

You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.