Emacs shortcuts in term mode
I've a question about using Emacs as editor and terminal.
I split my window into different windows with C-x 3
for example. One of the generated Window is used as terminal with M-x term
. Usually I switch with C-x o
into 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
add a comment |
I've a question about using Emacs as editor and terminal.
I split my window into different windows with C-x 3
for example. One of the generated Window is used as terminal with M-x term
. Usually I switch with C-x o
into 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
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 thereC-c o
is working.
– math
Apr 27 '12 at 12:31
add a comment |
I've a question about using Emacs as editor and terminal.
I split my window into different windows with C-x 3
for example. One of the generated Window is used as terminal with M-x term
. Usually I switch with C-x o
into 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
I've a question about using Emacs as editor and terminal.
I split my window into different windows with C-x 3
for example. One of the generated Window is used as terminal with M-x term
. Usually I switch with C-x o
into 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
emacs
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 thereC-c o
is working.
– math
Apr 27 '12 at 12:31
add a comment |
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 thereC-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
add a comment |
2 Answers
2
active
oldest
votes
C-c CHAR
This is equivalent toC-x CHAR
in normal Emacs. For example,
C-c o
invokes the global binding ofC-x o
, which is normally
other-window
.
(Emacs info file, "Term mode")
Perhabs my question was not clear. In every window, I can switch to antoher using the short cutC-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 useC-c CHAR
, in my case,C-c o
nothing happens in Emacs.
– math
Apr 27 '12 at 10:32
Are you using normalterm-mode
?C-c o
works for me, afterM-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 sameM-x term RET RET
. Strange, .... I just note that I can't kill the window running terminal withC-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 standardemacs
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 whyC-c
is normally rebound. I don't know why that isn't working for you.
– geekosaur
Apr 27 '12 at 11:31
add a comment |
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
C-c CHAR
This is equivalent toC-x CHAR
in normal Emacs. For example,
C-c o
invokes the global binding ofC-x o
, which is normally
other-window
.
(Emacs info file, "Term mode")
Perhabs my question was not clear. In every window, I can switch to antoher using the short cutC-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 useC-c CHAR
, in my case,C-c o
nothing happens in Emacs.
– math
Apr 27 '12 at 10:32
Are you using normalterm-mode
?C-c o
works for me, afterM-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 sameM-x term RET RET
. Strange, .... I just note that I can't kill the window running terminal withC-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 standardemacs
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 whyC-c
is normally rebound. I don't know why that isn't working for you.
– geekosaur
Apr 27 '12 at 11:31
add a comment |
C-c CHAR
This is equivalent toC-x CHAR
in normal Emacs. For example,
C-c o
invokes the global binding ofC-x o
, which is normally
other-window
.
(Emacs info file, "Term mode")
Perhabs my question was not clear. In every window, I can switch to antoher using the short cutC-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 useC-c CHAR
, in my case,C-c o
nothing happens in Emacs.
– math
Apr 27 '12 at 10:32
Are you using normalterm-mode
?C-c o
works for me, afterM-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 sameM-x term RET RET
. Strange, .... I just note that I can't kill the window running terminal withC-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 standardemacs
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 whyC-c
is normally rebound. I don't know why that isn't working for you.
– geekosaur
Apr 27 '12 at 11:31
add a comment |
C-c CHAR
This is equivalent toC-x CHAR
in normal Emacs. For example,
C-c o
invokes the global binding ofC-x o
, which is normally
other-window
.
(Emacs info file, "Term mode")
C-c CHAR
This is equivalent toC-x CHAR
in normal Emacs. For example,
C-c o
invokes the global binding ofC-x o
, which is normally
other-window
.
(Emacs info file, "Term mode")
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 cutC-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 useC-c CHAR
, in my case,C-c o
nothing happens in Emacs.
– math
Apr 27 '12 at 10:32
Are you using normalterm-mode
?C-c o
works for me, afterM-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 sameM-x term RET RET
. Strange, .... I just note that I can't kill the window running terminal withC-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 standardemacs
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 whyC-c
is normally rebound. I don't know why that isn't working for you.
– geekosaur
Apr 27 '12 at 11:31
add a comment |
Perhabs my question was not clear. In every window, I can switch to antoher using the short cutC-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 useC-c CHAR
, in my case,C-c o
nothing happens in Emacs.
– math
Apr 27 '12 at 10:32
Are you using normalterm-mode
?C-c o
works for me, afterM-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 sameM-x term RET RET
. Strange, .... I just note that I can't kill the window running terminal withC-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 standardemacs
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 whyC-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
add a comment |
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
add a comment |
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
add a comment |
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
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
answered Jan 8 at 17:07
Dennis G AllardDennis G Allard
112
112
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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