在 vim 里面有个跳转表,可以 用 c-o, c-i 来跳转
那 emacs 的操作方式是怎样的呢?
在 vim 里面有个跳转表,可以 用 c-o, c-i 来跳转
那 emacs 的操作方式是怎样的呢?
Ctrl+u Ctrl+Space, you can jump to the previous mark position
C-h SPC runs the command helm-all-mark-rings (found in global-map), which is an interactive autoloaded Lisp closure in ‘helm-ring.el’.
It is bound to C-h SPC, SPC, SPC, C-c h C-c SPC, .
(helm-all-mark-rings)
Preconfigured ‘helm’ for ‘helm-source-global-mark-ring’ and ‘helm-source-mark-ring’.
ivy 中也有类似的命令:counsel-mark-ring
.
谢谢,如果是在不同的 buffer ,比如 M- . 跳转定定义,要怎么跳回来呢
M-.
用的是xref,xref的跳转以及其它在跳转前手动调用了xref-push-marker-stack
的插件,都可以xref-pop-marker-stack
跳回最近一个push到这个stack的位置。
evil的C-o
C-i
很不好用,我基本都是g ;
goto-last-change,还有手动m x
' x
mark和goto。
M-, 配对命令