Force tmux to only take one keystrokeHow to get shift+arrows and ctrl+arrows working in Vim in tmux?How to...

I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?

How does signal strength relate to bandwidth?

How to get the first element while continue streaming?

Lock enemy's y-axis when using Vector3.MoveTowards to follow the player

What is the meaning of "notice to quit at once" and "Lotty points”

Why did the Cray-1 have 8 parity bits per word?

What is better: yes / no radio, or simple checkbox?

Why do phishing e-mails use faked e-mail addresses instead of the real one?

Did Amazon pay $0 in taxes last year?

Wardrobe above a wall with fuse boxes

Giving a talk in my old university, how prominently should I tell students my salary?

Book about a time-travel war fought by computers

How to mitigate "bandwagon attacking" from players?

How do I deal with being envious of my own players?

When to use mean vs median

Relationship between the symmetry number of a molecule as used in rotational spectroscopy and point group

Draw bounding region by list of points

Ahoy, Ye Traveler!

Is divide-by-zero a security vulnerability?

I've given my players a lot of magic items. Is it reasonable for me to give them harder encounters?

3.5% Interest Student Loan or use all of my savings on Tuition?

School performs periodic password audits. Is my password compromised?

Split a number into equal parts given the number of parts

Correct physics behind the colors on CD (compact disc)?



Force tmux to only take one keystroke


How to get shift+arrows and ctrl+arrows working in Vim in tmux?How to display escaped characters in tmux status barResume term after ssh disconnect without multiplexer (screen/tmux)resizing a terminal within tmux doesn't seem to workTerminal: prefix previous command?Tmux waits after switching panesIn tmux how do I exit the command prompt without typing an invalid command?Execute a program in tmux without scrollingTmux detaches from one side when force to adjust redimensionCreating a “focus mode” for tmux? (one centered pane flanked by two blank panes?)













0















Frequently, using tmux I'll want to switch panes and then immediately give input. For example I'll jump over (C-B->), then want to run the last command (^-Enter). However, it appears there's a timeout where I'm still in command mode.



Can I force tmux to only interpret a single keystroke in command mode (C-B) and then immediately give control back to the terminal? I feel like this is annoying and gets in my way more than it is a feature.










share|improve this question



























    0















    Frequently, using tmux I'll want to switch panes and then immediately give input. For example I'll jump over (C-B->), then want to run the last command (^-Enter). However, it appears there's a timeout where I'm still in command mode.



    Can I force tmux to only interpret a single keystroke in command mode (C-B) and then immediately give control back to the terminal? I feel like this is annoying and gets in my way more than it is a feature.










    share|improve this question

























      0












      0








      0








      Frequently, using tmux I'll want to switch panes and then immediately give input. For example I'll jump over (C-B->), then want to run the last command (^-Enter). However, it appears there's a timeout where I'm still in command mode.



      Can I force tmux to only interpret a single keystroke in command mode (C-B) and then immediately give control back to the terminal? I feel like this is annoying and gets in my way more than it is a feature.










      share|improve this question














      Frequently, using tmux I'll want to switch panes and then immediately give input. For example I'll jump over (C-B->), then want to run the last command (^-Enter). However, it appears there's a timeout where I'm still in command mode.



      Can I force tmux to only interpret a single keystroke in command mode (C-B) and then immediately give control back to the terminal? I feel like this is annoying and gets in my way more than it is a feature.







      terminal tmux






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 22 at 15:31









      Brydon GibsonBrydon Gibson

      377213




      377213






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Yes.



          set -s escape-time 0


          This means that tmux will not wait any amount of time for a keystroke combination (it will still wait indefinitely following <prefix> for a tmux command)






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1408519%2fforce-tmux-to-only-take-one-keystroke%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Yes.



            set -s escape-time 0


            This means that tmux will not wait any amount of time for a keystroke combination (it will still wait indefinitely following <prefix> for a tmux command)






            share|improve this answer




























              0














              Yes.



              set -s escape-time 0


              This means that tmux will not wait any amount of time for a keystroke combination (it will still wait indefinitely following <prefix> for a tmux command)






              share|improve this answer


























                0












                0








                0







                Yes.



                set -s escape-time 0


                This means that tmux will not wait any amount of time for a keystroke combination (it will still wait indefinitely following <prefix> for a tmux command)






                share|improve this answer













                Yes.



                set -s escape-time 0


                This means that tmux will not wait any amount of time for a keystroke combination (it will still wait indefinitely following <prefix> for a tmux command)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered yesterday









                jeremysprofilejeremysprofile

                1359




                1359






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1408519%2fforce-tmux-to-only-take-one-keystroke%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

                    VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                    Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...