mirror of
https://github.com/nadrad/h-m-m.git
synced 2024-06-08 03:52:12 +02:00
changed the i key binding into o
This commit is contained in:
parent
cdadfd3162
commit
ecc0e21924
4
h-m-m
4
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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue