In Emacs, how can I jump to the top of the file and then return to where I came from? -


in vim, ctrl-i takes cursor previous location (before last jump). ctrl-o complement, moving forward through jumplist. gg jumps top of file, ctrl-i jumps back.

the equivalent ctrl-i in emacs c-u c-space. however, obvious way top of file, home, doesn't set mark, there's no way return line came way.

is there better set of commands getting top , bottom of file (and perhaps other places) does respect mark ring? or there better way reverse home?

c-spc m-< go top. c-u c-spc (or c-x c-x c-g) again.

(c-x c-x g not change mark-ring. c-x c-x swaps point , mark, , activates region. c-g deactivates region.)


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -