Why not do it the other way? Hit ^A once and you select all text, hit it twice and the cursor is moved to the beginning of the line. For extra fun, hit it again to remove the selection. More hits could bring other functionality too, or you can make it a cycle that starts over again.
Note to GNOME/GTK+ hackers: this post was supposed to be completely facetious, not a real suggestion. Please DO NOT DO THAT.
Posted Aug 10, 2010 15:32 UTC (Tue) by spitzak (guest, #4593)
[Link]
I suspect that you are just making a joke about my suggestion, but what you suggest would require remembering the cursor position while select-all is done, which most editors do not do (the cursor is one end of the selection). Also cyclic modes are a very bad idea, though they were popular with some older Unix editors, they are not user-friendly as the user has to watch to get them to stop, rather than just blindly hitting the key many times to get at the state they want (if it is the last state).
Good
Posted Aug 11, 2010 23:49 UTC (Wed) by nix (subscriber, #2304)
[Link]