Re:Elevator.js – A “back to top” button that behaves like a ...
by smichel17 on Wednesday June 24, 2020 @07:06AM
(#23626527)
On my old Dell xps 14 laptop, the function button was close to the arrow keys, making it very convenient to use one-handed. I actually preferred it to a separate home button, because, in a text box, I often want to jump to the start/end of a line and then move a word or two inward -- do-able using control+arrows. It was almost as good as vim, although of course I had to take my hand off the home row.
[ Parent
| on HN ]
Re:Elevator.js – A “back to top” button that behaves like a ...
by jagged-chisel on Wednesday June 24, 2020 @07:27AM
(#23626641)
Imagine vim editing across all text fields in an OS. Would be glorious.
Re:Elevator.js – A “back to top” button that behaves like a ...
by evilduck on Wednesday June 24, 2020 @09:26AM
(#23627583)
macOS has a lot of baked in emacs keybindings that work almost universally in text fields.
Control-A: Move to the beginning of the line or paragraph.
Control-E: Move to the end of a line or paragraph.
Control-F: Move one character forward.
Control-B: Move one character backward.
Control-L: Center the cursor or selection in the visible area.
Control-P: Move up one line.
Control-N: Move down one line.
Control-O: Insert a new line after the insertion point.
Control-T: Swap the character behind the insertion point with the character in front of the insertion point.