Skip to content

Emacs mark point use xref.el, forward and backward navigation.

Notifications You must be signed in to change notification settings

ISouthRain/empx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Empx

Emacs mark point use xref.el, forward and backward navigation.

Empx fully uses the xref.el function, which is the default function provided by Emacs for forward and backward navigation and defining jumps.

Empx extends xref, not just go to defintion, empx can trigger functions based on idle time, and go to defintion marks the current point for forward and backward navigation.

preview

./attach/README/preview.gif

How to use

(add-to-list 'load-path "~/empx-path/")
(require 'empx)
(empx-mode)
;; And then:
;; M-x xref-go-forward Or xref-go-back

How to record the current point position?

  1. `empx-idle-time` time out.
  2. `empx-target-functions` list function.
  3. `xref.el` navigation, e.g: xref-find-definitions, xref-find-references

Custom

  • empx-idle-time
  • empx-target-functions

List

  • [ ] Visual navigation
  • [ ] support `consult`

Similar packages

About

Emacs mark point use xref.el, forward and backward navigation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published