Page 1 of 1

Vim compiler plugin

Posted: Mon Sep 03, 2007 12:22 pm
by 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...

Posted: Mon Sep 03, 2007 12:48 pm
by pjot
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

Posted: Mon Sep 03, 2007 8:49 pm
by dukester
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.....

Posted: Thu Nov 08, 2007 7:15 pm
by gloodnc
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.

Posted: Thu Nov 08, 2007 7:26 pm
by pjot
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

Posted: Thu Nov 08, 2007 7:41 pm
by gloodnc
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