diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2026-07-05 01:19:30 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2026-07-05 01:19:30 -0400 |
| commit | bdf9a71ab7baa2b1de9abcfd5df1a9107a55d141 (patch) | |
| tree | c4524e6c41aa5107211103401dabfaefc81aa882 /.config/emacs/lisp/evil-collection/modes/hyrolo/evil-collection-hyrolo.el | |
| parent | fe3984f541bd32bdfa418afb305b614176b55ca0 (diff) | |
add a bunch of emacs packages HELP
Diffstat (limited to '.config/emacs/lisp/evil-collection/modes/hyrolo/evil-collection-hyrolo.el')
| -rw-r--r-- | .config/emacs/lisp/evil-collection/modes/hyrolo/evil-collection-hyrolo.el | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.config/emacs/lisp/evil-collection/modes/hyrolo/evil-collection-hyrolo.el b/.config/emacs/lisp/evil-collection/modes/hyrolo/evil-collection-hyrolo.el new file mode 100644 index 0000000..2dd0033 --- /dev/null +++ b/.config/emacs/lisp/evil-collection/modes/hyrolo/evil-collection-hyrolo.el @@ -0,0 +1,32 @@ +;;; evil-collection-hyrolo.el --- Bindings for `hyrolo' -*- lexical-binding: t -*- + +;;; Commentary: +;;; Bindings for hyrolo. + +;;; Code: +(require 'evil-collection) +(require 'hyperbole nil t) + +(defvar hyrolo-mode-map) +(defconst evil-collection-hyrolo-maps '(hyrolo-mode-map)) + +(declare-function hyrolo-to-previous-loc "hyrolo") +(declare-function hyrolo-to-next-loc "hyrolo") +(declare-function hyrolo-overview "hyrolo") +(declare-function hyrolo-outline-show-all "hyrolo") + +(defun evil-collection-hyrolo-setup () + "Set up `evil' bindings for hyrolo." + (evil-collection-define-key 'normal 'hyrolo-mode-map + (kbd "[[") #'hyrolo-to-previous-loc + (kbd "]]") #'hyrolo-to-next-loc + (kbd "C-k") #'hyrolo-to-previous-loc + (kbd "C-j") #'hyrolo-to-next-loc + (kbd "gk") #'hyrolo-to-previous-loc + (kbd "gj") #'hyrolo-to-next-loc + (kbd "zo") #'hyrolo-outline-show-all + (kbd "zc") #'hyrolo-overview) + (evil-set-initial-state 'hyrolo-mode 'normal)) + +(provide 'evil-collection-hyrolo) +;;; evil-collection-hyrolo.el ends here |
