Hilbish

Sidebar

  • Vim Mode
  • Completions
  • Lunacolors
  • Frequently Asked Questions
  • Getting Started
  • Introduction
  • Module hilbish
  • Module fs
  • Module snail
  • Module terminal
  • Module commander
  • API
  • Module bait
  • Module hilbish.module
  • Module hilbish.abbr
  • Module hilbish.userDir
  • Module hilbish.os
  • Module hilbish.history
  • Module hilbish.completion
  • Module hilbish.messages
  • Module hilbish.aliases
  • Module hilbish.runner
  • Module hilbish.timers
  • Module hilbish
  • Module hilbish.jobs
  • Module hilbish.editor
  • Actions
  • Module doc
  • Nature
  • Module dirs
  • Hilbish
  • Command
  • Signals
  • Signal
  • Notification
  • Runner Mode
  • Options
  • Features

Hilbish

hilbish.exit Sent when Hilbish is going to exit.

Variables This signal returns no variables.

<hr>

hilbish.vimMode Sent when the Vim mode of Hilbish is changed (like from insert to normal mode). This can be used to change the prompt and notify based on Vim mode.

Variables string **modeName** The mode that has been set. Can be these values: insert, normal, delete or replace

<hr>

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

Variables This signal returns no variables.

<hr>

hilbish.notification Thrown when a notification is sent.

<hr>

hilbish.cd Sent when the current directory of the shell is changed (via interactive means.) If you are implementing a custom command that changes the directory of the shell, you must throw this hook manually for correctness.

Variables string **path** Absolute path of the directory that was changed to.

string **oldPath** Absolute path of the directory Hilbish was in.

<hr>

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

Variables string **actionName** Absolute path of the directory that was changed to.

table **args** Table of args relating to the Vim action.

<hr>