Tweak text_transfer and modify key bindings