Open ikrase opened 9 years ago
I've added bolf and eolf commands for smart-home and smart-end. In order not to mess with existing commands (and bindings), I thought it least disruptive to add 2 new commands, that can be used if wanted.
To pick up the thread from the last comment, I added smarthome
and smartend
which don't do what this issue was originally about... (They go to the beginning/end of the line/screen/file. It is possible to also integrate the originally requested feature, but that hasn't happened yet.)
A number of editors have the home key or BOL command move the cursor to the first non-whitespace character in a line if the cursor was anywhere other than that position, and to the actual beginning of the line if it was already at that position. As such one press will generally be at the beginning of text and two at the beginning of the line.
Is there a chance we could have this in Dex?