Hello everyone, I have the following binding set:
bind p run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"
It works fine for a few lines of text, but not for bigger chunks, where
anything goes to the paste-buffer and tmux throws a 'returned 1'
message.
Can anyone please hel
tmux should catch the escape sequence consistently but I seem to have found a
race condition case where it doesn't. Adding...
> export PROMPT_COMMAND="${PROMPT_COMMAND}; printf '\e]2;%s\e\\'
> \"${HOSTNAME/.*}\""
to the bash shell while inside tmux causes the status line to be printed on the
cur
Here's a very simple script for starting or attaching to a tmux session
named "bad":
#!/bin/bash
if ! tmux has-session -t bad; then
tmux new-session -s bad -d
fi
tmux attach -t bad
When I run this, I get a message in the one and only window of the session
that gives the path to my .tmux.conf f
Hi
This seems a reasonable idea to me but I think it should go in cmd_ctx -
it is context for THIS invocation of the command, not for all
invocations. I'd just add it as members in there personally.
Also I'd maybe call the function prepare() or parse() not context()?
Also of course exec() can as