Add move line functions and key bindings