Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nice, I came up with something similar when trying ghostty. Were you able to replicate/setup continuous key hold for resizing? The way I have it it tmux is that doing leader,Shift+hold h/i/k/j continually resizes a pane while I keep holding for example Shift+h. But I wasn’t able to replicate it in ghostty


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 ```




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: