Should the end key show the end of the file or get the cursor to the end of the line?
I know from some other editors the second (and with ctrl+end cursor the the end of the file).
Maybe it's a feature, I don't know :)
(Same for the pos1 key)
Strongly prefer start/end of _line_.
I thought the expected behavior of end and home would be to go to the end and beginning of the file respectively, without moving the cursor. I think this is the behavior in text edit. If this is not the standard in other editors, I will change it.
I'm pretty sure the end key jumps to the end of the line and ctrl+end jumps to the end of the file. If there are different opinions about that, maybe a custom keybindings file would be perfect (see sublime text). I dont't really know what's possible with the library you're using, but it's just an idea.
You can now rebind the home and end keys if you'd like. To do this put the following in your ~/.config/micro/bindings.json file:
{
"Home": "StartOfLine",
"End": "EndOfLine"
}
For now, I'm going to keep the defaults the way they are.
Nice, love it :)
See #74 which has been merged, the defaults have changed. I'll update the readme soon.
Most helpful comment
Strongly prefer start/end of _line_.