newLISP Fan Club

Forum => Anything else we might add? => Topic started by: dukester on September 03, 2007, 05:22:46 AM

Title: Vim compiler plugin
Post by: dukester on September 03, 2007, 05:22:46 AM
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...
Title:
Post by: pjot on September 03, 2007, 05:48:58 AM
Hi,



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



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
Title:
Post by: dukester on September 03, 2007, 01:49:41 PM
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.....
Title:
Post by: gloodnc on November 08, 2007, 11:15:41 AM
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.
Title:
Post by: pjot on November 08, 2007, 11:26:43 AM
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
Title:
Post by: gloodnc on November 08, 2007, 11:41:58 AM
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