david lawson (JIC) wrote:

Dear All,

I would like to set up a key binding to delete the water molecule I’m centred on, but I can’t get the guile syntax right. Can anybody help?


A good question for bioklatch, http://www.bioklatch.com/ IMHO. I'll answer it there too, if someone asks it.

(add-key-binding "Delete this water" "D" (lambda () (apply delete-atom (active-residue))))

(Perhaps it should be in the Wiki too).

Paul.

Reply via email to