Change tmux prefix control keyboard shortcut to alt keyboard shortcut
Is it possible to change the tmux prefix keyboard shortcut ctrl+B to alt+B?
tmux
add a comment |
Is it possible to change the tmux prefix keyboard shortcut ctrl+B to alt+B?
tmux
add a comment |
Is it possible to change the tmux prefix keyboard shortcut ctrl+B to alt+B?
tmux
Is it possible to change the tmux prefix keyboard shortcut ctrl+B to alt+B?
tmux
tmux
edited May 12 '12 at 9:10
xralf
asked May 11 '12 at 16:28
xralfxralf
2,1331970119
2,1331970119
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Yes. See for example this link:
set-option -g prefix M-b
There is only described configuration for ctrl+A which (strangely) doesn't work for me. But I'd like to use rather alt instead of control
– xralf
May 11 '12 at 19:03
3
Change "c" to "m" (see the man page).
– Lars Kotthoff
May 11 '12 at 21:57
14
Please do not answer with just a link. Your post must stand on its own. Include the relevant information in your post, keep the link for reference.
– Gilles
May 12 '12 at 2:50
1
The link you provided does not work
– St.Antario
Sep 23 '16 at 17:49
1
Works fine for me.
– Lars Kotthoff
Sep 23 '16 at 23:35
|
show 1 more comment
Just extracted the link answered by @Lars Kotthof
Changing tmux prefix to Alt+b:
set-option -g prefix M-b
add a comment |
As other have noted, you can do this by describing your favorite control sequence in e.g. the ~/.tmux.conf
config file.
set-option -g prefix M-b
You can also execute this from within tmux by using the command-prompt
command, ie. the current prefix and the :
character, to run the set-option
command interactively. I.e., type these characters:
C-b:set-option -g prefix M-b
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%2f38436%2fchange-tmux-prefix-control-keyboard-shortcut-to-alt-keyboard-shortcut%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes. See for example this link:
set-option -g prefix M-b
There is only described configuration for ctrl+A which (strangely) doesn't work for me. But I'd like to use rather alt instead of control
– xralf
May 11 '12 at 19:03
3
Change "c" to "m" (see the man page).
– Lars Kotthoff
May 11 '12 at 21:57
14
Please do not answer with just a link. Your post must stand on its own. Include the relevant information in your post, keep the link for reference.
– Gilles
May 12 '12 at 2:50
1
The link you provided does not work
– St.Antario
Sep 23 '16 at 17:49
1
Works fine for me.
– Lars Kotthoff
Sep 23 '16 at 23:35
|
show 1 more comment
Yes. See for example this link:
set-option -g prefix M-b
There is only described configuration for ctrl+A which (strangely) doesn't work for me. But I'd like to use rather alt instead of control
– xralf
May 11 '12 at 19:03
3
Change "c" to "m" (see the man page).
– Lars Kotthoff
May 11 '12 at 21:57
14
Please do not answer with just a link. Your post must stand on its own. Include the relevant information in your post, keep the link for reference.
– Gilles
May 12 '12 at 2:50
1
The link you provided does not work
– St.Antario
Sep 23 '16 at 17:49
1
Works fine for me.
– Lars Kotthoff
Sep 23 '16 at 23:35
|
show 1 more comment
Yes. See for example this link:
set-option -g prefix M-b
Yes. See for example this link:
set-option -g prefix M-b
edited Mar 29 '17 at 18:52
terdon♦
129k31252427
129k31252427
answered May 11 '12 at 18:32
Lars KotthoffLars Kotthoff
824611
824611
There is only described configuration for ctrl+A which (strangely) doesn't work for me. But I'd like to use rather alt instead of control
– xralf
May 11 '12 at 19:03
3
Change "c" to "m" (see the man page).
– Lars Kotthoff
May 11 '12 at 21:57
14
Please do not answer with just a link. Your post must stand on its own. Include the relevant information in your post, keep the link for reference.
– Gilles
May 12 '12 at 2:50
1
The link you provided does not work
– St.Antario
Sep 23 '16 at 17:49
1
Works fine for me.
– Lars Kotthoff
Sep 23 '16 at 23:35
|
show 1 more comment
There is only described configuration for ctrl+A which (strangely) doesn't work for me. But I'd like to use rather alt instead of control
– xralf
May 11 '12 at 19:03
3
Change "c" to "m" (see the man page).
– Lars Kotthoff
May 11 '12 at 21:57
14
Please do not answer with just a link. Your post must stand on its own. Include the relevant information in your post, keep the link for reference.
– Gilles
May 12 '12 at 2:50
1
The link you provided does not work
– St.Antario
Sep 23 '16 at 17:49
1
Works fine for me.
– Lars Kotthoff
Sep 23 '16 at 23:35
There is only described configuration for ctrl+A which (strangely) doesn't work for me. But I'd like to use rather alt instead of control
– xralf
May 11 '12 at 19:03
There is only described configuration for ctrl+A which (strangely) doesn't work for me. But I'd like to use rather alt instead of control
– xralf
May 11 '12 at 19:03
3
3
Change "c" to "m" (see the man page).
– Lars Kotthoff
May 11 '12 at 21:57
Change "c" to "m" (see the man page).
– Lars Kotthoff
May 11 '12 at 21:57
14
14
Please do not answer with just a link. Your post must stand on its own. Include the relevant information in your post, keep the link for reference.
– Gilles
May 12 '12 at 2:50
Please do not answer with just a link. Your post must stand on its own. Include the relevant information in your post, keep the link for reference.
– Gilles
May 12 '12 at 2:50
1
1
The link you provided does not work
– St.Antario
Sep 23 '16 at 17:49
The link you provided does not work
– St.Antario
Sep 23 '16 at 17:49
1
1
Works fine for me.
– Lars Kotthoff
Sep 23 '16 at 23:35
Works fine for me.
– Lars Kotthoff
Sep 23 '16 at 23:35
|
show 1 more comment
Just extracted the link answered by @Lars Kotthof
Changing tmux prefix to Alt+b:
set-option -g prefix M-b
add a comment |
Just extracted the link answered by @Lars Kotthof
Changing tmux prefix to Alt+b:
set-option -g prefix M-b
add a comment |
Just extracted the link answered by @Lars Kotthof
Changing tmux prefix to Alt+b:
set-option -g prefix M-b
Just extracted the link answered by @Lars Kotthof
Changing tmux prefix to Alt+b:
set-option -g prefix M-b
answered Jun 4 '15 at 11:23
André HerculanoAndré Herculano
25124
25124
add a comment |
add a comment |
As other have noted, you can do this by describing your favorite control sequence in e.g. the ~/.tmux.conf
config file.
set-option -g prefix M-b
You can also execute this from within tmux by using the command-prompt
command, ie. the current prefix and the :
character, to run the set-option
command interactively. I.e., type these characters:
C-b:set-option -g prefix M-b
add a comment |
As other have noted, you can do this by describing your favorite control sequence in e.g. the ~/.tmux.conf
config file.
set-option -g prefix M-b
You can also execute this from within tmux by using the command-prompt
command, ie. the current prefix and the :
character, to run the set-option
command interactively. I.e., type these characters:
C-b:set-option -g prefix M-b
add a comment |
As other have noted, you can do this by describing your favorite control sequence in e.g. the ~/.tmux.conf
config file.
set-option -g prefix M-b
You can also execute this from within tmux by using the command-prompt
command, ie. the current prefix and the :
character, to run the set-option
command interactively. I.e., type these characters:
C-b:set-option -g prefix M-b
As other have noted, you can do this by describing your favorite control sequence in e.g. the ~/.tmux.conf
config file.
set-option -g prefix M-b
You can also execute this from within tmux by using the command-prompt
command, ie. the current prefix and the :
character, to run the set-option
command interactively. I.e., type these characters:
C-b:set-option -g prefix M-b
answered 7 mins ago
nealmcbnealmcb
284313
284313
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f38436%2fchange-tmux-prefix-control-keyboard-shortcut-to-alt-keyboard-shortcut%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