changed the i key binding into o

This commit is contained in:
nadrad 2022-08-30 20:31:56 +02:00
parent cdadfd3162
commit ecc0e21924
2 changed files with 4 additions and 4 deletions

4
h-m-m
View file

@ -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);

View file

@ -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