Timeline for How to make end-of-buffer move to the last line not beyond it?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 4 at 12:09 | comment | added | unvarnished |
If you wish to remap my-end-of-buffer to the default shortcut (overriding it), use (global-set-key "\M->" #'my-end-of-buffer) .
|
|
S Jul 9, 2017 at 4:30 | history | suggested | Basil | CC BY-SA 3.0 |
Name, document and simplify advice; minor rewording and clarification
|
Jul 8, 2017 at 9:39 | review | Suggested edits | |||
S Jul 9, 2017 at 4:30 | |||||
Mar 23, 2017 at 19:49 | comment | added | user1685095 |
Thanks, your solution works! I'm new to elisp, so I haven't knew about advice-add . I didn't want to remap keys, because in evil G is a motion, so you can delete till the end of file with dG etc. I don't think tht.his would work if I would just remap key to another function. But maybe I don't know lisp well enough.
|
|
Mar 23, 2017 at 19:47 | vote | accept | user1685095 | ||
Mar 23, 2017 at 15:42 | history | edited | glucas | CC BY-SA 3.0 |
added 411 characters in body
|
Mar 23, 2017 at 14:34 | history | edited | glucas | CC BY-SA 3.0 |
deleted 60 characters in body
|
Mar 23, 2017 at 14:25 | history | answered | glucas | CC BY-SA 3.0 |