Vim compiler plugin

Started by dukester, September 03, 2007, 05:22:46 AM

Previous topic - Next topic

dukester

Is anybody here using a compiler plugin file with Vim? I've read the Vim docs but somehow I can't get my plugin hack to work.



I like using Vim because I then have a consistent development environment across three platforms. TIA...
duke

pjot

#1
Hi,



I made some macros myself, you can get it from here:



http://www.turtle.dds.nl/newlisp/">http://www.turtle.dds.nl/newlisp/





It can link a newLisp program to the newLisp executable. Runs in Windows and Unix/Linux.



Hope it helps,

Peter

dukester

#2
It sure does! Thanks!!



I have been putting it off, but I now have to clean up my HDD of all the various .vimrc files that are laying around in my win-doze box. ;) L8r.....
duke

gloodnc

#3
Hi pjot,



I took a look at the vimrc file located on your page. I have the following lines in my own vimrc (on Windows) adapted from your settings:



" newLISP run macro

map <F5> :call NewLispRun()<CR>

func! NewLispRun()

  !newlisp "%"

endfunc



I am trying to emulate the split screen that you have in your example. However, whenever I try to run this command, it always pops up an external cmd.exe window. I'd much rather prefer to have the resulting shell showing up within the split vim console.



Is there a way to achieve this with newLISP and windows gVim?





TIA.

pjot

#4
Hi gloodnc,



Well, by default gVim for Windows uses an external CMD window to run a newLisp program.



I guess you need to recompile gVim in Windows to get a different functionality, if this is possible at all.



Unfortunately I do all my work in Unix- and Linux based environments, so I cannot check it for you. Maybe it is best to ask a similar question at the VIM mailingslists... :-(



Regards

Pter

gloodnc

#5
Hi pjot,



My preference is not worth going to the trouble of recompiling VIM on Windows (painful exercise). Thanks very much for the precise assistance -- if only the real working world were the same!



Ciao