2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-27 07:53:23 +00:00
Hilbish/docs/hooks/hilbish.md
TorchedSammy 1b24e91597
feat!: enhance docs and doc command
changes the actual file format of docs
to markup since that's basically what we have been
using in the first place.

the docgen command has been modified to write
markdown headings with the function name and
yaml metadata for easy consumption by hugo for the
website (soon).

all other docs have been moved to markdown as well
this is the main reason this is a "breaking" change
users will have to reinstall hilbish
(task uninstall and task install) to remove the old
plaintext docs
2022-12-02 15:08:03 -04:00

508 B

  • hilbish.exit > Sent when Hilbish is about to exit.

  • hilbish.vimMode -> modeName > Sent when Hilbish's Vim mode is changed (example insert to normal mode), modeName is the name of the mode changed to (can be insert, normal, delete or replace).

  • hilbish.vimAction -> actionName, args > Sent when the user does a "vim action," being something like yanking or pasting text. See doc vim-mode actions for more info.

  • hilbish.cancel > Sent when the user cancels their input with Ctrl-C.