Moving To An Intermediate Point In An Emacs Buffer

Almost evry Emacs user is familiar with 【Meta+<】 and 【Meta+>】, the commands to move to the beginning and end of the current buffer. Today while browsing in Aaron Hawley’s excellent Emacs Reference Sheet, which I’ve written about before, I discovered that you can move partially toward the beginning or end by giving a prefix argument. Thus, 【Meta+5 Meta+>】 will move to the middle of the buffer. In general, 【Meta+N Meta+<】 will put the point N/10 of the way from the beginning of the buffer and 【Meta+N Meta+>】 will put the point N/10 of the way from the end of the buffer.

These certainly aren’t commands that you’ll use everyday but when you need them they are very helpful. They are another example of Emacs doing the expected thing that I wrote about yesterday.

This entry was posted in General and tagged . Bookmark the permalink.