editor: use equality func
keybindings: map begin/end to their natural gtk counterparts.