2023-11-12 02:28:18 +00:00
|
|
|
---
|
|
|
|
title: Hilbish
|
|
|
|
description:
|
|
|
|
layout: doc
|
|
|
|
menu:
|
|
|
|
docs:
|
2023-12-18 17:33:05 +00:00
|
|
|
parent: "Signals"
|
2023-11-12 02:28:18 +00:00
|
|
|
---
|
|
|
|
|
2023-12-24 22:23:10 +00:00
|
|
|
## hilbish.exit
|
|
|
|
Sent when Hilbish is going to exit.
|
2022-03-06 16:06:39 +00:00
|
|
|
|
2023-12-24 22:23:10 +00:00
|
|
|
#### Variables
|
|
|
|
This signal returns no variables.
|
2022-03-13 21:44:54 +00:00
|
|
|
|
2023-12-24 22:23:10 +00:00
|
|
|
<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-24 22:23:10 +00:00
|
|
|
#### Variables
|
|
|
|
This signal returns no variables.
|
2023-07-10 23:03:30 +00:00
|
|
|
|
2023-12-24 22:23:10 +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.
|