sorry the behavior I want is 'there is a tmux session inside my current session' -> 'set escape time to 0 in the inner session'
On Monday, December 20, 2021 at 3:19:40 PM UTC-6 G M wrote: > Tmux is aware when there is a nested session or else how would I get the > message warning about this, so there must be some mechanism to detect it > and issue some commands based on this. > Is there no way for me to specify in my local config something along the > lines of 'there is a tmux session inside my current session' -> 'set escape > time to 0'? > > On a separate note, I don't really understand why default tmux behavior is > to capture anything before the prefix key is pressed. > > On Monday, December 20, 2021 at 3:05:37 AM UTC-6 [email protected] > wrote: > >> When you create the inner tmux, do "set -s escape-time 0" at the same >> time. >> >> >> On Mon, 20 Dec 2021 at 02:09, G M <[email protected]> wrote: >> >>> I made this post on reddit >>> <https://www.reddit.com/r/neovim/comments/rkb8bu/neovim_slow_escape_time_with_nested_tmux/>, >>> >>> but maybe its possible to solve this just through tmux. If I have nested >>> tmux sessions, I was wondering if there is a way to pass set -sg >>> escape-time 0 from the outer session to the inner session only by >>> modifying the config of the outer session? I want this variable to be set >>> when the outer session creates the inner session or when it attaches to an >>> existing session. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "tmux-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web, visit >>> https://groups.google.com/d/msgid/tmux-users/5633d36a-6fc7-4c43-85eb-6dcce3d3de09n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/tmux-users/5633d36a-6fc7-4c43-85eb-6dcce3d3de09n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/80d3d048-bc93-44a4-b3e9-104de7dae95en%40googlegroups.com.
