gpakosz / .tmux

🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
MIT License
21.79k stars 3.36k forks source link

disable sticky keybinds #758

Closed OliverGuy closed 2 weeks ago

OliverGuy commented 2 weeks ago

Hey there, thanks for this tmux configuration, I'm using it everywhere 😃

I have one tiny issue: whenever I'm hopping between panes (or windows, for that matter), there's a delay during which I can keep using hkjl to switch between panes.

As a vim/vi-mode user, I find this slightly annoying and would rather have tmux consume a single key press after <prefix> so I don't have to wait to type again.

How would one achieve this ?

gpakosz commented 2 weeks ago

Hello @OliverGuy 👋

I believe you want to play with escape-time, e.g. in your .local customization file

set -s escape-time 5
OliverGuy commented 2 weeks ago

Works like a charm, merci !