Emacs shortcuts in term mode












3















I've a question about using Emacs as editor and terminal.



I split my window into different windows with C-x 3for example. One of the generated Window is used as terminal with M-x term. Usually I switch with C-x ointo another window. Suppose I switched to the terminal buffer, from there I cannot use C-x o to switch to another buffer.



What short cut can I use to switch from the terminal buffer into another?










share|improve this question

























  • Do you know about M-x shell? It plays nicer with emacs.

    – Tom
    Apr 27 '12 at 11:58











  • Thank you for your comment. It seems that there C-c o is working.

    – math
    Apr 27 '12 at 12:31
















3















I've a question about using Emacs as editor and terminal.



I split my window into different windows with C-x 3for example. One of the generated Window is used as terminal with M-x term. Usually I switch with C-x ointo another window. Suppose I switched to the terminal buffer, from there I cannot use C-x o to switch to another buffer.



What short cut can I use to switch from the terminal buffer into another?










share|improve this question

























  • Do you know about M-x shell? It plays nicer with emacs.

    – Tom
    Apr 27 '12 at 11:58











  • Thank you for your comment. It seems that there C-c o is working.

    – math
    Apr 27 '12 at 12:31














3












3








3








I've a question about using Emacs as editor and terminal.



I split my window into different windows with C-x 3for example. One of the generated Window is used as terminal with M-x term. Usually I switch with C-x ointo another window. Suppose I switched to the terminal buffer, from there I cannot use C-x o to switch to another buffer.



What short cut can I use to switch from the terminal buffer into another?










share|improve this question
















I've a question about using Emacs as editor and terminal.



I split my window into different windows with C-x 3for example. One of the generated Window is used as terminal with M-x term. Usually I switch with C-x ointo another window. Suppose I switched to the terminal buffer, from there I cannot use C-x o to switch to another buffer.



What short cut can I use to switch from the terminal buffer into another?







emacs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 27 '12 at 23:16









Gilles

532k12810651592




532k12810651592










asked Apr 27 '12 at 9:56









mathmath

1068




1068













  • Do you know about M-x shell? It plays nicer with emacs.

    – Tom
    Apr 27 '12 at 11:58











  • Thank you for your comment. It seems that there C-c o is working.

    – math
    Apr 27 '12 at 12:31



















  • Do you know about M-x shell? It plays nicer with emacs.

    – Tom
    Apr 27 '12 at 11:58











  • Thank you for your comment. It seems that there C-c o is working.

    – math
    Apr 27 '12 at 12:31

















Do you know about M-x shell? It plays nicer with emacs.

– Tom
Apr 27 '12 at 11:58





Do you know about M-x shell? It plays nicer with emacs.

– Tom
Apr 27 '12 at 11:58













Thank you for your comment. It seems that there C-c o is working.

– math
Apr 27 '12 at 12:31





Thank you for your comment. It seems that there C-c o is working.

– math
Apr 27 '12 at 12:31










2 Answers
2






active

oldest

votes


















7















C-c CHAR
This is equivalent to C-x CHAR in normal Emacs. For example,
C-c o invokes the global binding of C-x o, which is normally
other-window.




(Emacs info file, "Term mode")






share|improve this answer
























  • Perhabs my question was not clear. In every window, I can switch to antoher using the short cut C-x o. In the terminal window, nothing happens. I have to use the mouse to switch to another window. This just does not work in the terminal window! So, my question, is there another short cut to switch from a terminal window in Emacs to another?

    – math
    Apr 27 '12 at 10:31











  • If I use C-c CHAR, in my case, C-c o nothing happens in Emacs.

    – math
    Apr 27 '12 at 10:32











  • Are you using normal term-mode? C-c o works for me, after M-x term RET RET (which prompts for /bin/bash in my case but that should not affect things). Also, what version of Emacs? (Mine is 23.4.1)

    – geekosaur
    Apr 27 '12 at 10:35













  • Im using 23.4.1, too. Yes, I did exactly the same M-x term RET RET. Strange, .... I just note that I can't kill the window running terminal with C-x k. It seems that in such a terminal window I'm not able to use short cuts.

    – math
    Apr 27 '12 at 11:20











  • The standard emacs commands are not available in terminal windows, because you often need to be able to send keys directly to what's running in the window; that's why C-c is normally rebound. I don't know why that isn't working for you.

    – geekosaur
    Apr 27 '12 at 11:31



















1














C-c C-j switches to line mode, when you need to do Emacs-y things to the buffer (Term: line run) appears in status line



C-c C-k switches back to char mode, when you need it to act like a terminal again (Term: char run) appears in status line






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    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: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f37434%2femacs-shortcuts-in-term-mode%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    7















    C-c CHAR
    This is equivalent to C-x CHAR in normal Emacs. For example,
    C-c o invokes the global binding of C-x o, which is normally
    other-window.




    (Emacs info file, "Term mode")






    share|improve this answer
























    • Perhabs my question was not clear. In every window, I can switch to antoher using the short cut C-x o. In the terminal window, nothing happens. I have to use the mouse to switch to another window. This just does not work in the terminal window! So, my question, is there another short cut to switch from a terminal window in Emacs to another?

      – math
      Apr 27 '12 at 10:31











    • If I use C-c CHAR, in my case, C-c o nothing happens in Emacs.

      – math
      Apr 27 '12 at 10:32











    • Are you using normal term-mode? C-c o works for me, after M-x term RET RET (which prompts for /bin/bash in my case but that should not affect things). Also, what version of Emacs? (Mine is 23.4.1)

      – geekosaur
      Apr 27 '12 at 10:35













    • Im using 23.4.1, too. Yes, I did exactly the same M-x term RET RET. Strange, .... I just note that I can't kill the window running terminal with C-x k. It seems that in such a terminal window I'm not able to use short cuts.

      – math
      Apr 27 '12 at 11:20











    • The standard emacs commands are not available in terminal windows, because you often need to be able to send keys directly to what's running in the window; that's why C-c is normally rebound. I don't know why that isn't working for you.

      – geekosaur
      Apr 27 '12 at 11:31
















    7















    C-c CHAR
    This is equivalent to C-x CHAR in normal Emacs. For example,
    C-c o invokes the global binding of C-x o, which is normally
    other-window.




    (Emacs info file, "Term mode")






    share|improve this answer
























    • Perhabs my question was not clear. In every window, I can switch to antoher using the short cut C-x o. In the terminal window, nothing happens. I have to use the mouse to switch to another window. This just does not work in the terminal window! So, my question, is there another short cut to switch from a terminal window in Emacs to another?

      – math
      Apr 27 '12 at 10:31











    • If I use C-c CHAR, in my case, C-c o nothing happens in Emacs.

      – math
      Apr 27 '12 at 10:32











    • Are you using normal term-mode? C-c o works for me, after M-x term RET RET (which prompts for /bin/bash in my case but that should not affect things). Also, what version of Emacs? (Mine is 23.4.1)

      – geekosaur
      Apr 27 '12 at 10:35













    • Im using 23.4.1, too. Yes, I did exactly the same M-x term RET RET. Strange, .... I just note that I can't kill the window running terminal with C-x k. It seems that in such a terminal window I'm not able to use short cuts.

      – math
      Apr 27 '12 at 11:20











    • The standard emacs commands are not available in terminal windows, because you often need to be able to send keys directly to what's running in the window; that's why C-c is normally rebound. I don't know why that isn't working for you.

      – geekosaur
      Apr 27 '12 at 11:31














    7












    7








    7








    C-c CHAR
    This is equivalent to C-x CHAR in normal Emacs. For example,
    C-c o invokes the global binding of C-x o, which is normally
    other-window.




    (Emacs info file, "Term mode")






    share|improve this answer














    C-c CHAR
    This is equivalent to C-x CHAR in normal Emacs. For example,
    C-c o invokes the global binding of C-x o, which is normally
    other-window.




    (Emacs info file, "Term mode")







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Apr 27 '12 at 10:04









    geekosaurgeekosaur

    22.5k25853




    22.5k25853













    • Perhabs my question was not clear. In every window, I can switch to antoher using the short cut C-x o. In the terminal window, nothing happens. I have to use the mouse to switch to another window. This just does not work in the terminal window! So, my question, is there another short cut to switch from a terminal window in Emacs to another?

      – math
      Apr 27 '12 at 10:31











    • If I use C-c CHAR, in my case, C-c o nothing happens in Emacs.

      – math
      Apr 27 '12 at 10:32











    • Are you using normal term-mode? C-c o works for me, after M-x term RET RET (which prompts for /bin/bash in my case but that should not affect things). Also, what version of Emacs? (Mine is 23.4.1)

      – geekosaur
      Apr 27 '12 at 10:35













    • Im using 23.4.1, too. Yes, I did exactly the same M-x term RET RET. Strange, .... I just note that I can't kill the window running terminal with C-x k. It seems that in such a terminal window I'm not able to use short cuts.

      – math
      Apr 27 '12 at 11:20











    • The standard emacs commands are not available in terminal windows, because you often need to be able to send keys directly to what's running in the window; that's why C-c is normally rebound. I don't know why that isn't working for you.

      – geekosaur
      Apr 27 '12 at 11:31



















    • Perhabs my question was not clear. In every window, I can switch to antoher using the short cut C-x o. In the terminal window, nothing happens. I have to use the mouse to switch to another window. This just does not work in the terminal window! So, my question, is there another short cut to switch from a terminal window in Emacs to another?

      – math
      Apr 27 '12 at 10:31











    • If I use C-c CHAR, in my case, C-c o nothing happens in Emacs.

      – math
      Apr 27 '12 at 10:32











    • Are you using normal term-mode? C-c o works for me, after M-x term RET RET (which prompts for /bin/bash in my case but that should not affect things). Also, what version of Emacs? (Mine is 23.4.1)

      – geekosaur
      Apr 27 '12 at 10:35













    • Im using 23.4.1, too. Yes, I did exactly the same M-x term RET RET. Strange, .... I just note that I can't kill the window running terminal with C-x k. It seems that in such a terminal window I'm not able to use short cuts.

      – math
      Apr 27 '12 at 11:20











    • The standard emacs commands are not available in terminal windows, because you often need to be able to send keys directly to what's running in the window; that's why C-c is normally rebound. I don't know why that isn't working for you.

      – geekosaur
      Apr 27 '12 at 11:31

















    Perhabs my question was not clear. In every window, I can switch to antoher using the short cut C-x o. In the terminal window, nothing happens. I have to use the mouse to switch to another window. This just does not work in the terminal window! So, my question, is there another short cut to switch from a terminal window in Emacs to another?

    – math
    Apr 27 '12 at 10:31





    Perhabs my question was not clear. In every window, I can switch to antoher using the short cut C-x o. In the terminal window, nothing happens. I have to use the mouse to switch to another window. This just does not work in the terminal window! So, my question, is there another short cut to switch from a terminal window in Emacs to another?

    – math
    Apr 27 '12 at 10:31













    If I use C-c CHAR, in my case, C-c o nothing happens in Emacs.

    – math
    Apr 27 '12 at 10:32





    If I use C-c CHAR, in my case, C-c o nothing happens in Emacs.

    – math
    Apr 27 '12 at 10:32













    Are you using normal term-mode? C-c o works for me, after M-x term RET RET (which prompts for /bin/bash in my case but that should not affect things). Also, what version of Emacs? (Mine is 23.4.1)

    – geekosaur
    Apr 27 '12 at 10:35







    Are you using normal term-mode? C-c o works for me, after M-x term RET RET (which prompts for /bin/bash in my case but that should not affect things). Also, what version of Emacs? (Mine is 23.4.1)

    – geekosaur
    Apr 27 '12 at 10:35















    Im using 23.4.1, too. Yes, I did exactly the same M-x term RET RET. Strange, .... I just note that I can't kill the window running terminal with C-x k. It seems that in such a terminal window I'm not able to use short cuts.

    – math
    Apr 27 '12 at 11:20





    Im using 23.4.1, too. Yes, I did exactly the same M-x term RET RET. Strange, .... I just note that I can't kill the window running terminal with C-x k. It seems that in such a terminal window I'm not able to use short cuts.

    – math
    Apr 27 '12 at 11:20













    The standard emacs commands are not available in terminal windows, because you often need to be able to send keys directly to what's running in the window; that's why C-c is normally rebound. I don't know why that isn't working for you.

    – geekosaur
    Apr 27 '12 at 11:31





    The standard emacs commands are not available in terminal windows, because you often need to be able to send keys directly to what's running in the window; that's why C-c is normally rebound. I don't know why that isn't working for you.

    – geekosaur
    Apr 27 '12 at 11:31













    1














    C-c C-j switches to line mode, when you need to do Emacs-y things to the buffer (Term: line run) appears in status line



    C-c C-k switches back to char mode, when you need it to act like a terminal again (Term: char run) appears in status line






    share|improve this answer




























      1














      C-c C-j switches to line mode, when you need to do Emacs-y things to the buffer (Term: line run) appears in status line



      C-c C-k switches back to char mode, when you need it to act like a terminal again (Term: char run) appears in status line






      share|improve this answer


























        1












        1








        1







        C-c C-j switches to line mode, when you need to do Emacs-y things to the buffer (Term: line run) appears in status line



        C-c C-k switches back to char mode, when you need it to act like a terminal again (Term: char run) appears in status line






        share|improve this answer













        C-c C-j switches to line mode, when you need to do Emacs-y things to the buffer (Term: line run) appears in status line



        C-c C-k switches back to char mode, when you need it to act like a terminal again (Term: char run) appears in status line







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 8 at 17:07









        Dennis G AllardDennis G Allard

        112




        112






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • 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%2funix.stackexchange.com%2fquestions%2f37434%2femacs-shortcuts-in-term-mode%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

            Morgemoulin

            Scott Moir

            Souastre