Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.35 KB

zellij.md

File metadata and controls

46 lines (29 loc) · 1.35 KB

Zellij

Zellij is not the default, to use it you will have to add this line to your .vimrc:

let g:slime_target = "zellij"

When you invoke vim-slime for the first time, you will be prompted for more configuration.

Zellij session id

This is the id of the zellij session that you wish to target,
the default value is "current" meaning the session containing the vim pane.
See e.g. the value of "zellij list-sessions" in the target window to figure out
specific session names.

Zellij relative pane

"current" for the currently active pane

"up"/"down"/"right"/"left" for the pane in that direction relative to the location of
the active pane

You can configure the defaults for these options. If you generally run vim in a split zellij window with a REPL to the right it could look like this:

let g:slime_default_config = {"session_id": "current", "relative_pane": "right"}

bracketed-paste

Some REPLs can interfere with your text pasting. The bracketed-paste mode exists to allow raw pasting.

zellij supports bracketed-paste, use:

let g:slime_bracketed_paste = 1
" or
let b:slime_bracketed_paste = 1

(It is disabled by default because it can create issues with ipython; see #265).