Nan0Scho1ar / emacs-ahoy

Emacs package for running ahoy commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emacs Ahoy

Run ahoy commands from within emacs

Do you want the convenience of ahoy, but also love the convenience of Emacs? Then this is the package for you!

Depends on package ansi-exec.

This package offers three commands

  • ahoy: Prompts you to select an ahoy command then executes it.
  • ahoy-run-with-args: Prompts you to select an ahoy command, Prompts for args, then executes the command.
  • ahoy-help: Prompts you to select an ahoy command then returns it’s help text.

Installation

Doom Emacs:

  • Add the following to your packages.el
(package! ansi-exec :recipe (:host github :repo "nan0scho1ar/emacs-ansi-exec" :files ("*.el")))
(package! ahoy :recipe (:host github :repo "nan0scho1ar/emacs-ahoy" :files ("*.el")))
  • Add the following to your config.el
(after! ansi-exec
  (use-package! ahoy
    :config
    (map! :mode ahoy-mode :n "q" #'delete-window)
    (map! :leader (:prefix ("p A" . "Ahoy")
                   :desc "Ahoy run cmd"       "A" #'ahoy
                   :desc "Ahoy run with args" "a" #'ahoy-run-with-args
                   :desc "Ahoy help"          "h" #'ahoy-help))))

About

Emacs package for running ahoy commands

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 100.0%