Page 1 of 1

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

Posted: Mon Jun 09, 2014 2:30 pm
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?

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

Posted: Tue Jun 10, 2014 4:29 am
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.

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

Posted: Wed Jun 11, 2014 9:30 am
by ssqq
I am exciting to get the reply of designer of newLISP.

Thanks Lutz!