Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs fast navigation by character?

I came across an interesting package that does fast navigation by character, but I can't find it anymore, and can't remember its name. Apparently the idea came from vim. There is definitely an emacswiki page for it.

Basically, you press a key to enter a minor-mode, enter a search term, and it dims the window, and sequentially highlights all occurences of the search term in the window. Then you can press 'a' to go to the first one, 'b' for the second, etc.

Any help?

Edit: I'll add the vim tag, since the vim package name will be enough for me to find it.

like image 977
event_jr Avatar asked Dec 17 '11 09:12

event_jr


3 Answers

ace-jump-mode seems to be what you're looking for.

The inspiration for AceJump comes from a vim plugin called EasyMotion. EasyMotion provides a much simpler way to use motions in vim. It takes the out of w or f{char} by highlighting all possible choices and allowing you to press one key to jump directly to the target. So I decided to write something similar for Emacs.

This minor mode gives you the ability to:

  • jump to a word
  • jump to any characters in a word
  • jump to a line

The wiki page is also available on the Emacswiki.

like image 70
Daimrod Avatar answered Oct 23 '22 15:10

Daimrod


If the Vim package name will be enough: I think you're referring to EasyMotion.

like image 28
Greg Sexton Avatar answered Oct 23 '22 14:10

Greg Sexton


It's called iy-go-to-char.el, and you probably saw it in this EmacsRocks screencast. I uploaded it to marmalade-repo.org a while ago, too, which may help you if you're using package.el.

like image 1
sanityinc Avatar answered Oct 23 '22 16:10

sanityinc