Comment by GNOMES
6 months ago
Never realized you can do that. Can you share that tmux binding? Right now I use `bind -r Space next-layout` for resizing (spam repeatedly).
6 months ago
Never realized you can do that. Can you share that tmux binding? Right now I use `bind -r Space next-layout` for resizing (spam repeatedly).
Hey. Not sure what's triggering it from the tmux.conf, i think it's just the `-r` like you have ? I think it stands for 'repeat'. Perhaps you are already doing the same thing, spam resize? I have something like `bind -r H resize-pane -L 1`, so when I hit my <leader> and then hold capital H (shift+h), it just keeps resizing by 1 unit of size.
other parts of my config that could be relevant, using with iterm2.
``` bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R bind -r H resize-pane -L 1 bind -r J resize-pane -D 1 bind -r K resize-pane -U 1 bind -r L resize-pane -R 1 set -g mouse on bind \\ split-window -h -c '#{pane_current_path}' bind - split-window -v -c '#{pane_current_path}' set -g focus-events on setw -g aggressive-resize on set -g display-time 4000 set -s escape-time 0 ```