diff --git a/h-m-m b/h-m-m index 5454b7a..456af96 100755 --- a/h-m-m +++ b/h-m-m @@ -2177,8 +2177,8 @@ function monitor_key_presses(&$mm){ if ($in=='J') move_active_node_down($mm); if ($in=='K') move_active_node_up($mm); - if ($in=='i' || $in=="\n") insert_node($mm, insert_sibling); - if ($in=='I' || $in=="\t") insert_node($mm, insert_child); + if ($in=='o' || $in=="\n") insert_node($mm, insert_sibling); + if ($in=='O' || $in=="\t") insert_node($mm, insert_child); if ($in=='e') edit_node($mm); if ($in=='E') edit_node($mm, true); diff --git a/readme.md b/readme.md index 4ab5a34..92f7f35 100644 --- a/readme.md +++ b/readme.md @@ -10,8 +10,8 @@ Adding, removing, and editing nodes: -* `i` and `enter` - create a new sibling to the active node -* `I` and `tab` - create a new child for the active node +* `o` and `enter` - create a new sibling to the active node +* `O` and `tab` - create a new child for the active node * `y` - yanks (copies) the active node and its descendants * `Y` - yanks (copies) the descendants of the active node * `d` - deletes (cuts) the active node and its descendants