Open ComFreek opened 5 years ago
I'm not sure how you envision the keyboard shortcuts. When you're within one node, you're inside a text box, editing the LaTeX code for that node. Pressing arrow keys should move the caret of that text box.
You're right, arrow keys on their own would break normal editing.
Ctrl-arrow key
is commonly used for "fast forward to next word" in edit controls, isn't it?Alt-(left|right)
is used in browsers for navigating back and forth.Tab
would inherently only support going to the right.Personally, having such a feature would certainly be useful, so one might consider overwriting one of the keyboard shortcuts above. Or what about mirroring Excel a bit and having two modes: edit mode within one node and normal mode. In normal mode a single node is always selected. The selection can be moved with the arrow keys. Hence, the workflow for entering "A B" would be:
A
, then Enter
right arrow key
B
, then Enter
.Maybe pressing Shift-arrow key
in normal mode moves the selection while also adding an arrow.
When within one node, I'd suggest that pressing one of the arrow keys navigates the user to the desired node.
Maybe Ctrl-arrow key also adds an edge.