Liking cljdoc? Tell your friends :D

hive-vim.terminal

VimTerminal: hive-addon ITerminalAddon over Vim's :terminal.

Lings run in hidden terminal buffers named hive:<id> inside a connected Vim. Each ling is pinned to the session it was spawned in, so a second Vim never receives another's keystrokes. The terminal verbs of the catalogue do the work; this namespace only maps the protocol onto them.

VimTerminal: hive-addon ITerminalAddon over Vim's :terminal.

Lings run in hidden terminal buffers named hive:<id> inside a connected Vim.
Each ling is pinned to the session it was spawned in, so a second Vim never
receives another's keystrokes. The terminal verbs of the catalogue do the
work; this namespace only maps the protocol onto them.
raw docstring

context-ofclj

(context-of terminal id)

Recorded {:session :cwd :project-id} of ling ID, or nil.

Recorded {:session :cwd :project-id} of ling ID, or nil.
sourceraw docstring

default-commandclj

Argv a ling runs when neither the spawn opts nor the addon config name one.

Argv a ling runs when neither the spawn opts nor the addon config name one.
sourceraw docstring

interrupt->resultclj

(interrupt->result id result)
source

kill->resultclj

(kill->result id result)
source

read-linesclj

(read-lines terminal id)

Visible lines of ling ID, or {:error kw} when Vim cannot answer.

Visible lines of ling ID, or {:error kw} when Vim cannot answer.
sourceraw docstring

spawn-paramsclj

(spawn-params ctx opts command)

terminal-spawn params from a ling CTX, spawn OPTS and default COMMAND.

terminal-spawn params from a ling CTX, spawn OPTS and default COMMAND.
sourceraw docstring

status->slaveclj

(status->slave id result)

ITerminalAddon status map for ling ID from a terminal-status Result.

ITerminalAddon status map for ling ID from a terminal-status Result.
sourceraw docstring

terminal-keyclj

The terminal-id of hive.vim's terminal, as offered through the :vim/terminal hook.

The terminal-id of hive.vim's terminal, as offered through the :vim/terminal hook.
sourceraw docstring

terminal-nameclj

(terminal-name id)

The Vim buffer name of ling ID, the :terminal a :ui/send-to-terminal op targets.

The Vim buffer name of ling ID, the :terminal a :ui/send-to-terminal op targets.
sourceraw docstring

vim-terminalclj

(vim-terminal server-fn)
(vim-terminal server-fn terminal-kw {:keys [command session timeout-ms]})

ITerminalAddon TERMINAL-KW running lings in the Vim that SERVER-FN's transport reaches. OPTS: :command (argv, default default-command), :session (pin every spawn to one Vim), :timeout-ms.

ITerminalAddon TERMINAL-KW running lings in the Vim that SERVER-FN's
transport reaches. OPTS: :command (argv, default `default-command`),
:session (pin every spawn to one Vim), :timeout-ms.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close