mirror of
https://github.com/sammy-ette/Hilbish
synced 2025-08-10 02:52:03 +00:00
547 B
547 B
| title | description | layout | menu | ||||
|---|---|---|---|---|---|---|---|
| Interface hilbish.editor | interactions for Hilbish's line reader | doc |
|
Introduction
The hilbish.editor interface provides functions to directly interact with the line editor in use.
Functions
getLine() -> string
Returns the current input line.
getVimRegister(register) -> string
Returns the text that is at the register.
insert(text)
Inserts text into the line.
setVimRegister(register, text)
Sets the vim register at register to hold the passed text.