How to set newLISP-GS auto-refresh the tab content

For the Compleat Fan
Locked
ssqq
Posts: 88
Joined: Sun May 04, 2014 12:49 pm

How to set newLISP-GS auto-refresh the tab content

Post by ssqq »

I use Vim to write newLISP code, but I like use newLISP-GS to run code, When I edit and save in Vim, Only way to refresh the content in newLISP-GS is to re-open a tab.

If have any setting option to make it auto-refresh?

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: How to set newLISP-GS auto-refresh the tab content

Post by Lutz »

In my .vimrc file, I have the following definition for the shift-X key:

Code: Select all

" X executes the current file with newLISP
:nmap X :! newlisp % <CR>
While in Vim, I just hit shift-X and the file executes. Works also fine with files made to use the Guiserver. When the program finished, I am back in the editor. Of course you also could just enter

Code: Select all

! newlisp %
when in edit mode.

ssqq
Posts: 88
Joined: Sun May 04, 2014 12:49 pm

Re: How to set newLISP-GS auto-refresh the tab content

Post by ssqq »

I am exciting to get the reply of designer of newLISP.

Thanks Lutz!

Locked