Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.tmux.conf:94: usage: send-keys [-lRM] [-t target-pane] key ... #35

Open
eugenweissbart opened this issue Jul 1, 2017 · 4 comments · May be fixed by #39
Open

.tmux.conf:94: usage: send-keys [-lRM] [-t target-pane] key ... #35

eugenweissbart opened this issue Jul 1, 2017 · 4 comments · May be fixed by #39

Comments

@eugenweissbart
Copy link

OS: Debian 9.0
tmux version: 2.3-4

The problem seems to be with these lines of code:
# Vi copypaste mode set-window-option -g mode-keys vi if-shell "test '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -ge 4 \)'" 'bind-key -Tcopy-mode-vi v send -X begin-selection; bind-key -Tcopy-mode-vi y send -X copy-selection-and-cancel' if-shell '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -lt 4\) -o #{$TMUX_VERSION_MAJOR} -le 1' 'bind-key -t vi-copy v begin-selection; bind-key -t vi-copy y copy-selection'

@victor-yarema
Copy link

victor-yarema commented Nov 3, 2017

I'm using Ubuntu 17.04 and right after installation I've got the same problem.
I have "tmux 2.3".
Currently I have simply commented that line (#94) since it looks like it is supposed to be used with higher version anyway.

@victor-yarema
Copy link

BTW, that line was added with commit 4e6c638 .
From what I see in comment "get copy-pasting working with tmux v2.4" I can just guess that it wasn't tested on tmux with version < 2.4.

@stale
Copy link

stale bot commented Jan 2, 2018

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

This bot is used to handle issues where the issue hasn't been discussed or
has gone out of date. If an issue isn't resolved and handled in a certain
period of time, it may be closed. If you would like your issue re-opened,
please create a fresh issue with the latest, up to date information and
mention this issue in it.

@stale stale bot added the stale label Jan 2, 2018
@stale stale bot closed this as completed Jan 10, 2018
@tony tony reopened this Oct 5, 2021
@stale
Copy link

stale bot commented Oct 5, 2021

Thank you for updating this issue. It is no longer marked as stale.

@stale stale bot removed the stale label Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants