Line duplicated on Ctrl-Up/Down
Describe the bug If a file contains one line, and Ctrl-Up or Ctrl-Down is pressed, the line is duplicated.
To Reproduce
- Create new file.
- Enter one line, without pressing of Enter key.
- Press Ctrl-Up.
Expected behavior Editor must do nothing, because the line cannot be moved.
Actual behavior The line is duplicated.
Screenshots
Before:

After pressing of Ctrl-Up:

Desktop (please complete the following information):
- OS: Fedora Linux
thanks for the report.
This problem might be caused by the config/ox.ron. Right now, CTRL+UP and CTRL+DOWN is binded to "move line up" and "move line down" respectively. I suspect that there's something wrong with the macro itself.
I'm new to this project, but I suspect the macro is using the instruction inside of interpret_line(...) in oxa.rs right? I think the problem can be solved by fixing the behavior of Event::InsertLineBelow and Event::InsertLineAbove in the match scope inside of execute(...) in document.rs.
Correct me if I'm wrong, I consider myself a noob at this.