Recently I made some VIM macro's to turn VIM into a newLisp IDE. Three functions were added:
-Run: run current newLisp program
-Link: create standalone executable of current newLisp program
-Syntax: force syntax highlighting to newLisp (requires newLisp syntax file to be installed as 'newlisp' filetype)
Screenshot (look at the fancy newLisp menu and icon in the toolbar):
http://www.turtle.dds.nl/newlisp/vim.jpg
The macros can be downloaded here. Windows users need 'which' for Win32 to run the linker successfully.
The toolbar icon is here including install instructions (down below the page).
Maybe the macro's are of use for somebody else as well.
Regards
Peter
VIM IDE
Made a new screenshot to show how a newLisp program runs within VIM:
http://www.turtle.dds.nl/newlisp/vim.jpg
A program can be started from the menu or from the toolbar (as previously but not stated :-) ). Also some small adjustments on the statusbar.
Enjoy,
Peter
http://www.turtle.dds.nl/newlisp/vim.jpg
A program can be started from the menu or from the toolbar (as previously but not stated :-) ). Also some small adjustments on the statusbar.
Enjoy,
Peter
-
- Posts: 429
- Joined: Tue Nov 11, 2003 2:11 am
- Location: Brisbane, Australia
Hi,
Just change the macro to this:
Now it works, with spaces in the name and directory.
Peter
Just change the macro to this:
Code: Select all
" Execute current newLisp file - command: Run
function! NewlispRun()
!newlisp "%"
endfunction
command! -complete=function Run :call NewlispRun()
Peter