-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
3.5 questions and comments #4136
Comments
I've been using "Oh My Tmux" for years and it's all been great. After doing a P.S.: Using Alacritty as my terminal, if that makes any difference |
I have a problem with shift+
in my config:
Looks like In editor like kakoune which requests extended keys mode as far as I know, pressing shifted letter reported as Following is what I get in extended mode while pressing shift+c:
Changing Is there any way to not emit |
To troubleshoot further I display
Quote from the man page:
I suppose shift+c is falling into |
I'm setting my prefix to Ctrl+` via:
but as of 3.5 it does no longer work.
Setting |
Hit this error when starting tmux v3.5:
I have this in tmux conf which works fine with v3.4:
|
I was using tmux with the config below: set-option -sa terminal-overrides ",xterm*:Tc"
set -g mouse on
unbind C-b
set -g prefix C-w
bind C-w send-prefix
# Vim style pane selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Start windows and panes at 1, not 0
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
# Use Alt-arrow keys without prefix key to switch panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Shift arrow to switch windows
bind -n S-Left previous-window
bind -n S-Right next-window
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'catppuccin/tmux'
run '~/.tmux/plugins/tpm/tpm'
# set vi-mode
set-window-option -g mode-keys vi
# keybindings
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}" Since 3.5 I experience way slower performance for example when changing pane and extremely slow performance when trying to update plugins using |
@clarkwang This is minimally reproducable with the style @nicm Here is a patch, that fixes the issue: diff --git a/colour.c b/colour.c
index 0b787acb..5fd91c9c 100644
--- a/colour.c
+++ b/colour.c
@@ -948,7 +948,7 @@ colour_byname(const char *name)
if (strncmp(name, "grey", 4) == 0 || strncmp(name, "gray", 4) == 0) {
if (name[4] == '\0')
- return (-1);
+ return (0xbebebe|COLOUR_FLAG_RGB);
c = strtonum(name + 4, 0, 100, &errstr);
if (errstr != NULL)
return (-1); |
I'm having the same problem too (config), and I think that it's because the MacOS: Darwin arm 14.6.1 |
Applied to OpenBSD now, will be in GitHub later. Thanks! |
My custom bindings like I read in the issues that tmux now uses lower-key characters so I went into alacritty.toml and changed |
OK, seems the solution is either to:
or
|
With 3.5 (brew next-3.6, MacOS Sequioa) new window always starts with |
@vbauerster what does your terminal report (outside of tmux) when you press |
This is expected. In the "standard" mode, |
Yeah, but 3.5 stopped interpreting |
Fixed with |
Hi! Do C-Arrow bindings on resize-pane not work anymore? I'm super new to Linux in general so I'm kinda confused, I've tried this: bind -r C-Up resize-pane -U
bind -r C-Down resize-pane -D
... If I omit the I'm not sure if Alt/M-Arrow is supposed to be default but if it is that's also not working in /bin/sh, I think maybe because by default Alt-Arrow changes the virtual terminal Edit: Oh and the tmux conf is just those 4 lines for the arrows there's nothing else in it |
The way tmux represents keys internally has changed as well. |
Only mode 2 triggers escaped sequences. If tmux always request mode 2 from parent terminal then tmux is responsible to handle this. Also not every terminal supports mode 2 unlike foot terminal. Here is the comment from foot terminal maintainer: https://codeberg.org/dnkl/foot/issues/1850#issuecomment-2344834 |
I've been pouring over the Is there any way to float/align/justify the 0th window to the right, so that the windows are ordered in the same way as my numbers row, i.e. 1-0, not 0-9? |
Try the following:
|
Same here. The pane switching slowdown is making it unusable. I've tried not using the if-shell command and a few other suggestions here but have not yet solved. MacOS: Darwin arm 14.6.1 EDIT: For anyone with a job that needs it now on Mac, you can revert to 3.4 with brew uninstall tmux
brew unlink tmux
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/62acbfc97e3148200e86eb38bfc998145c8e1830/Formula/t/tmux.rb
brew install ./tmux.rb |
Since the update to 3.5, I use this in [[keyboard.bindings]]
chars = "\u001B[27;5;9~"
key = "Tab"
mods = "Control"
[[keyboard.bindings]]
chars = "\u001B[27;6;9~"
key = "Tab"
mods = "Control|Shift" I've tried |
@randomcoder67 if you set |
Setting What changed in the latest updated that caused the |
I'm getting the same sort of issue with I've tried setting |
If you are talking about binding |
Lose the |
Ah, my mistake. I put that in my comment to make it unambiguous that I was using
It works perfectly in 3.4 but I can't get it to work at all in 3.5 |
OK, if this is the case, can you try the inverse of my advice, and change the likes of Shift is quite problematic, because some terminals send it and some don’t, and there’s no way for us to add it when it’s missing. |
No dice, sadly. I've tried the following with
They all show up in tmux as Worth noting that I've tried this with both |
@JBlocklove if you run |
@JBlocklove it is also possible that |
I see the same things in Yeah, I suppose it might be a |
@JBlocklove have you tried it in Kitty? Does it work there? I managed to get In alacritty config toml file I have this:
|
Haven't tried Kitty for this. This issue isn't big enough for me to switch terminal emulators and I like alacritty. I added this to my alacritty config and it doesn't seem to have changed anything with how it interacts.
I tried it with both the unicode for uppercase and lowercase letters. The rebind works if I check in Interestingly, adding those bindings seems to have broken it in tmux 3.4... |
I mean for testing not switching.
what about lower Also does |
Fair. Just installed kitty and tried this, I get the same results as with alacritty and st. Lowercase doesn't seem to fare any better. I bound |
in tmux conf I have:
and it works in alacritty |
Eyyyy, that does work! Looks like I just had to get the combination of changes right! My pane switching now works with the following in my configs:
Thanks for all the help! |
Annoying part is that you have to manually set those shortcuts in alacritty config while they should work out of the box :/ |
Ask or discuss any quick questions about 3.5 here please.
Do not use this issue for bug reports, they will be ignored - please open a new issue with full information, see CONTRIBUTING.
The 3.5 CHANGES file is here.
Before I wrote the change list I thought it would be relatively short, but in fact there are quite a lot of changes, almost all contributed by other people. So thanks to all of them!
The major change in this release is improved support for extended keys, thanks to Stanislav Kljuhhin. This moves tmux much closer to xterm's implementation of the feature for the mode 1 key encoding and adds support for mode 2. The
extended-keys
option remains, but if it ison
oralways
then tmux will now turn on mode 2 by default rather than mode 1; applications may now request mode 2 - emacs does so, and I believe neovim as well. A new optionextended-keys-format
allows CSI u format to be selected, similar to xterm'sformatOtherKeys
resource.I also want to note here that tmux is a small, volunteer project and my time is often relatively limited, so as I of course much appreciate bug reports and particularly code contributions, I also appreciate patience if it takes a while to deal with them!
Note that as always due to limited time patch releases will only appear due to security issues or immediately obvious or showstopper bugs, so I encourage everyone to test the master branch ahead of the next release where they can.
The text was updated successfully, but these errors were encountered: