emacs/user-lisp/icejam-avy.el

22 lines
565 B
EmacsLisp

;;; icejam-avy.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk
;; Version: 0.1-snapshot
;;; Commentary:
;; Avy is a navigation manager.
(eval-when-compile (defvar icejam-keys-mode-map))
;;; Code:
(use-package avy :ensure t :defer t
:config
(setopt avy-timeout-seconds 1.0) ;; Wait for 1 second for candidates
:bind (:map icejam-keys-mode-map
;; Jump to text in sight with CMD-j
([(hyper j)] . avy-goto-char-timer)))
(provide 'icejam-avy)
;;; icejam-avy.el ends here