emacs/lisp/icejam-avy.el
Maciej Szlosarczyk a68257ee41
All checks were successful
/ Test config on 20 (push) Successful in 26s
Prefer setopt to :custom from use-package
The following does not provide completion for variables:

  (use-package thing :custom (thing-thing :ok))
2024-10-31 14:36:47 +02:00

22 lines
541 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.
;;; Code:
(require 'icejam-keys-mode)
(use-package avy :ensure t :defer t
:config
(setopt avy-timeout-seconds 1) ;; 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