Hello, I am not having success with the tmux REPL commands. I get an error message when I create the REPL (details below), and can’t send text to it. Maybe it’s a bug but I haven’t used Kakoune a whole lot so I reckon it’s more likely I’m doing something wrong. Any help would be appreciated.
Here’s what I’m doing:
Open tmux:
tmux
Start Kakoune:
kak temp.py
In Kakoune, try to open a Python REPL:
:tmux-repl-vertical python3
A new tmux pane appears, with a python3 prompt. But the Kakoune pane displays this message: 1:1: 'tmux-repl-vertical' 2:5: 'tmux-repl-impl' no such command: ''
. Writing some Python code (e.g., print("hello")
, selecting it and running :send-text
does nothing.
Looking here kakoune/tmux.kak at master · mawww/kakoune · GitHub it seems like the command to send text to the REPL should be repl-send-text
, but when I write :repl-
I get no prompt for that. I get a prompt for :send-text
, although Clippy says that it’s an alias for x11-send-text
. That might explain why nothing is being sent to the REPL, but in that case I’m not sure how to access the appropriate send text command for tmux.
I’ve tried this with tmux-repl-horizontal
and tmux-repl-window
and I get the same error. I’ve also tried it with Julia instead of Python.
Version info:
$kak -version
Kakoune v2020.09.01-249-g958a9431
I removed my kakrc
file to make sure something in that wasn’t causing the problem.
Thank you!