<?xml version="1.0"?>
<Denemo>
  <merge>
    <title>A Denemo Keymap</title>
    <author>AT, JRR, RTS</author>
    <map>
      <row>
        <action>SplitMeasure</action>
        <scheme>;SplitMeasure:splits a measure 
;leave cursor at the beginning of the new measure (after the barline)
(d-PushClipboard)
(d-SetMark)
(if   (d-MeasureRight)
   (begin  (d-CursorLeft)  
                (d-Cut)
                (d-CursorRight)
                (d-InsertMeasureBefore)
    )
   (begin
           (d-GoToEnd)
           (d-Cut)
        (d-AppendMeasure)
        (d-MoveToMeasureRight)
        )
 )
(d-Paste)	;now, position the cursor at begin of new bar:
(d-MoveToMeasureLeft)  
(d-MoveToMeasureRight)
(d-UnsetMark)
(d-PopClipboard)</scheme>
        <label>Split Measure</label>
        <tooltip>Redistribute the notes into two Denemo measures splitting at the cursor position.</tooltip>
      </row>
    </map>
  </merge>
</Denemo>
