2023-12-26 03:08:29 +00:00
|
|
|
---
|
|
|
|
title: Hilbish
|
|
|
|
description:
|
|
|
|
layout: doc
|
|
|
|
menu:
|
|
|
|
docs:
|
|
|
|
parent: "Signals"
|
|
|
|
---
|
2022-03-06 16:06:39 +00:00
|
|
|
|
2023-12-26 03:08:29 +00:00
|
|
|
## hilbish.exit
|
|
|
|
Sent when Hilbish is going to exit.
|
2022-03-13 21:44:54 +00:00
|
|
|
|
2023-12-26 03:08:29 +00:00
|
|
|
#### 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
|
2022-11-25 23:21:36 +00:00
|
|
|
|
2023-12-26 03:08:29 +00:00
|
|
|
#### Variables
|
|
|
|
This signal returns no variables.
|
2023-07-10 23:03:30 +00:00
|
|
|
|
2023-12-26 03:08:29 +00:00
|
|
|
<hr>
|
|
|
|
|
|
|
|
## hilbish.notification
|
|
|
|
Thrown when a [notification](../../features/notifications) is sent.
|
|
|
|
|
|
|
|
#### Variables
|
|
|
|
`table` **`notification`**
|
|
|
|
The notification. The properties are defined in the link above.
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
+ `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.
|