plugins.vim-slime.extraConfig.bracketed_paste

Sometimes REPL are too smart for their own good, e.g. autocompleting a bracket that should not be autocompleted when pasting code from a file. In this case it can be useful to rely on bracketed-paste (https://cirw.in/blog/bracketed-paste). Luckily, tmux knows how to handle that. See tmux’s manual.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.vim-slime.extraConfig.default_config

Pre-filled prompt answer.

Examples:

  • tmux:

      {
        socket_name = "default";
        target_pane = "{last}";
      }
    
  • zellij:

      {
        session_id = "current";
        relative_pane = "right";
      }
    

Type: null or (attribute set of (string or raw lua code))

Default: null

Declared by:

plugins.vim-slime.extraConfig.dont_ask_default

Whether to bypass the prompt and use the specified default configuration options.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.vim-slime.extraConfig.no_mappings

Whether to disable the default mappings.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.vim-slime.extraConfig.paste_file

Required to transfer data from vim to GNU screen or tmux. Setting this explicitly can work around some occasional portability issues. whimrepl does not require or support this setting.

Type: null or string or raw lua code

Default: null

Plugin default: "$HOME/.slime_paste"

Declared by:

plugins.vim-slime.extraConfig.preserve_curpos

Whether to preserve cursor position when sending a line or paragraph.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.vim-slime.extraConfig.target

Which backend vim-slime should use.

Type: null or one of “dtach”, “kitty”, “neovim”, “screen”, “tmux”, “vimterminal”, “wezterm”, “whimrepl”, “x11”, “zellij” or raw lua code

Default: null

Plugin default: "screen"

Declared by:

plugins.vim-slime.extraConfig.vimterminal_cmd

The vim terminal command to execute.

Type: null or string or raw lua code

Default: null

Declared by: