beginend
beginend copied to clipboard
Alway go to end|begin of line?
Hi,
I use this function now for about 20 years and today stumbled on your mode. My version just jumps to end-of-line => end-of-window => end-of-buffer, it's not mode agnoistic, so I'd like to replace it with your mode.
However, I'm so used to jumping to end of line first that I can't just give it up :) So, my question is, would this be possible using your mode? Like if you are editing an elisp file - first key hit: jump to end of current sexp, next: jump to end of line, next: jump to end of defun (or if not visible in the current window: end of window first!), next: end of buffer.
Thanks in advance, Tom
Hi Tom.
The beginend
package goes back to its previous location when the same key is typed again. This seems to conflict a bit with your idea of multiple ends the cursor could visit in turn.
What about adding a separate set of commands that would work the way you suggest and reuse the definitions for mode-specific limits? I'm ok to merge a PR containing such a feature into beginend if you also take care of explaining the new feature in the README.
I've just found that which might be related: https://github.com/Boruch-Baum/emacs-home-end.
This is what I have now, although I wrote it myself.
I'm closing this. Feel free to reopen if there is anything new.