<?xml version="1.0"?>
<Denemo>
  <merge>
    <title>A Denemo Keymap</title>
    <author>AT, JRR, RTS</author>
    <map>
      <row>
        <after>WholeMeasureRest</after>
        <action>InsertWholeMeasureRest</action>
        <scheme>;;;;InsertWholeMeasureRest
 ;;; note that it works in edit mode properly
 (if (equal? (d-GetType) "None")
 	(begin
 		(d-WholeMeasureRest))
 	(begin	
 		(if (d-MoveToMeasureRight)
 			(d-WholeMeasureRest)
 			(begin
          			 (d-InsertMeasureAfter)	
	  			  (d-WholeMeasureRest)))))
(d-MoveCursorRight)
(d-Set2)</scheme>
        <label>Insert Whole Measure Rest</label>
        <tooltip>Inserts/Appends a rest measure; if the current measure is empty, it simply places the whole measure rest in it.</tooltip>
      </row>
    </map>
  </merge>
</Denemo>
