OK, is there a way to put in that lisp also some keys combination? At the moment
I need to modify mu CUI file to get some useful shortcuts for variables, like this
orto (F2)
=====
^P'_.orthomode $M=$(if,$(and,$(getvar,orthomode),1),$(-,$(getvar,orthomode),1),$(+,$(getvar,orthomode),1))
pickstyle (Ctrl+R)
============
'_setvar;pickstyle;$M=$(if,$(eq,$(getvar,pickstyle),0),1,$(if,$(eq,$(getvar,pickstyle),1),0,$(if,$(eq,$(getvar,pickstyle),2),3,2)))
osnap 675 (Ctrl+T)
==============
^P'_setvar;osmode;675
prompt history window (Shift+F2)
========================
$M=$(if,$(and,$(>,$(getvar,WNDLTEXT),0)),^c^c_GraphScr,^c^c_TextScr)