Skip to content

Nan0Scho1ar/emacs-ahoy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published