Nvim send extract "]" ")" to REPL

I was trying the nvim->tmux setup. I used vim-slime and send the code to a REPL in the next tmux pane. But it always send an extra closing “]”.


I tried with python REPL it does not have the issue. I am very appreciated if anyone can help me figure out what’s going wrong. Thanks!

I have the same issue in VSCode. I usually use Emacs so I haven’t put a lot of effort into fixing it, but my suspicion was that it was OhMyREPL autocompleting the brackets as they were “typed” into the REPL.

1 Like

It should send the code using bracket paste mode, https://cirw.in/blog/bracketed-paste.

3 Likes

Thank you guys. It works now :grin:

1 Like