• Stars
    star
    208
  • Rank 182,912 (Top 4 %)
  • Language
    Emacs Lisp
  • Created about 10 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Quickly follow links in Emacs

ace-link

GNU Emacs package for selecting a link to jump to

What and why

Currently, to jump to a link in an Info-mode or help-mode or woman-mode or org-mode or eww-mode or compilation-mode or goto-address-mode buffer, you can tab through the links to select the one you want. This is an O(N) operation, where the N is the amount of links. This package turns this into an O(1) operation, or at least O(log(N)) if you manage to squeeze thousands of links in one screen. It does so by assigning a letter to each link using avy.

Install

Either clone from here or install from MELPA (recommended).

Setup

Put this in your ~/.emacs:

(ace-link-setup-default)

This will bind o to:

  • ace-link-info in Info-mode
  • ace-link-help in help-mode
  • ace-link-woman in woman-mode
  • ace-link-eww in eww-mode
  • ace-link-compilation in compilation-mode
  • ace-link-custom in custom-mode-map

This shortcut is usually unbound and is very close to l which is the default shortcut to go back.

To bind ace-link-org, you can use something like this:

(define-key org-mode-map (kbd "M-o") 'ace-link-org)

To bind ace-link-gnus, you can use something like this:

(define-key gnus-summary-mode-map (kbd "M-o") 'ace-link-gnus)
(define-key gnus-article-mode-map (kbd "M-o") 'ace-link-gnus)

If you use ert, ace-link-help also works on ert results:

(require 'ert)
(define-key ert-results-mode-map "o" 'ace-link-help)

To bind 'ace-link-addr' in all modes (useful when using goto-address-mode or goto-address-prog-mode):

(global-set-key (kbd "M-o") 'ace-link-addr)

Usage

Just press o when you're in Info-mode or help-mode or woman-mode or eww-mode or compilation-mode.

Here's a screencast of browsing Info using ace-link-info:

gif

More Repositories

1

swiper

Ivy - a generic completion frontend for Emacs, Swiper - isearch with an overview, and more. Oh, man!
Emacs Lisp
2,252
star
2

hydra

make Emacs bindings that stick around
Emacs Lisp
1,782
star
3

avy

Jump to things in Emacs tree-style
Emacs Lisp
1,651
star
4

lispy

Short and sweet LISP editing
Emacs Lisp
1,184
star
5

org-download

Drag and drop images to Emacs org-mode
Emacs Lisp
1,035
star
6

ace-window

Quickly switch windows in Emacs
Emacs Lisp
949
star
7

oremacs

My Emacs config
Emacs Lisp
293
star
8

auto-yasnippet

quickly create disposable yasnippets
Emacs Lisp
243
star
9

pamparam

Simple and fast flashcards for Emacs
Emacs Lisp
228
star
10

lpy

Minimal Python IDE for GNU Emacs
Emacs Lisp
178
star
11

define-word

Display the definition of word at point in Emacs
Emacs Lisp
153
star
12

tiny

Quickly generate linear ranges in Emacs
Emacs Lisp
139
star
13

worf

vi-like bindings for org-mode
Emacs Lisp
132
star
14

function-args

C++ completion for GNU Emacs
Emacs Lisp
120
star
15

orca

ORg CApture
Emacs Lisp
103
star
16

swiper-helm

Helm version of swiper
Emacs Lisp
81
star
17

helm-make

Select a Makefile target with helm.
Emacs Lisp
61
star
18

plain-org-wiki

Simple jump-to-org-files in a directory package
Emacs Lisp
52
star
19

make-it-so

Transform files with Makefile recipes
Emacs Lisp
47
star
20

org-fu

My org-capture and org-protocol setup
Emacs Lisp
37
star
21

cook

Makefile -> Cookbook.py
Python
36
star
22

whicher

Audit and install the programs that your Emacs config depends on
Emacs Lisp
22
star
23

eclipse-theme

Eclipse theme for Emacs
Emacs Lisp
21
star
24

orly

Additional Org-mode link types and completion for them
Emacs Lisp
18
star
25

helm-j-cheatsheet

Quick J reference for Emacs
Emacs Lisp
17
star
26

zoutline

Emacs library for outlines
Emacs Lisp
16
star
27

gtk-pomodoro-indicator

A simple pomodoro indicator for Unity/GTK tray
Python
15
star
28

elf-mode

Show symbol list when opening a binary file in Emacs
Emacs Lisp
13
star
29

matlab-mode

My fork of matlab-mode
Emacs Lisp
13
star
30

short-lambda

Clojure-style anonymous function literal for Elisp
Emacs Lisp
12
star
31

centimacro

Assign multiple macros as global key bindings in Emacs
Emacs Lisp
12
star
32

xlx

XML <-> LISP converter
Common Lisp
11
star
33

eltex

Write LaTeX in Emacs Lisp
Emacs Lisp
10
star
34

headlong

reckless completion for Emacs
Emacs Lisp
10
star
35

ukrainian-holidays

Ukrainian holidays for Emacs calendar
Emacs Lisp
8
star
36

semimap

.Xmodmap that uses semicolon as a modifier
8
star
37

dired-guess

Associate file extensions with programs that can open them for dired
Emacs Lisp
8
star
38

cc-chainsaw

A few tricks to make c++-mode go
Emacs Lisp
7
star
39

org-mode

http://orgmode.org/org-mode.git
Emacs Lisp
6
star
40

abel

abbrevs for Elisp
Emacs Lisp
5
star
41

cedet

My mirror of CEDET (http://cedet.sourceforge.net/).
Emacs Lisp
5
star
42

profile-dotemacs

My mirror of http://www.randomsample.de/profile-dotemacs.el
Emacs Lisp
5
star
43

abo-abo.github.io

HTML
4
star
44

ido-occasional

Use ido where you choose
Emacs Lisp
4
star
45

touchpad

Toggle touchpad on/off
Python
4
star
46

netherlands-holidays

Netherlands holidays for Emacs calendar
Emacs Lisp
4
star
47

latex-wrap

Wrap selection with a LaTeX environment
Emacs Lisp
4
star
48

simple-benchmark

My notes comparing several PL on a simple benchmark
C++
4
star
49

ciao

Emacs Lisp
4
star
50

xkb-indicator

GTK indicator that allows to run setxkbmap via a keybinding
Python
2
star
51

malk

a simple multi-collection completion demo
Emacs Lisp
1
star
52

soap

Smart Operator a posteriori
Emacs Lisp
1
star