nano M-A hotkey
up vote
3
down vote
favorite
When using nano in the terminal, to do the "write file append" command, it lists the keystroke "M-A".
I am completely confused what this key command actually means. I read somewhere that it means Alt-A, which didn't work.
What am I supposed to use?
EDIT: I think the problem is because when I hit Alt-A, it opens my Xubuntu terminal windows Menu > Tabs menu item.
So by default the supplied xubuntu / xfce terminal has hotkeys that step on nano's hotkeys? Is this correct or have I modified them and forgot?
nano
add a comment |
up vote
3
down vote
favorite
When using nano in the terminal, to do the "write file append" command, it lists the keystroke "M-A".
I am completely confused what this key command actually means. I read somewhere that it means Alt-A, which didn't work.
What am I supposed to use?
EDIT: I think the problem is because when I hit Alt-A, it opens my Xubuntu terminal windows Menu > Tabs menu item.
So by default the supplied xubuntu / xfce terminal has hotkeys that step on nano's hotkeys? Is this correct or have I modified them and forgot?
nano
1
"didn't work" how exactly? Alt-A should be the right interpretation - the slightly confusing thing is that the keymapping only applies in the "write screen" (i.e. after you've hit Ctrl-O). In regular edit mode, M-A (Alt-A) sets a mark in the text.
– steeldriver
Mar 18 '17 at 22:23
2
TryescthenAinstead.
– Doug Smythies
Mar 18 '17 at 23:51
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
When using nano in the terminal, to do the "write file append" command, it lists the keystroke "M-A".
I am completely confused what this key command actually means. I read somewhere that it means Alt-A, which didn't work.
What am I supposed to use?
EDIT: I think the problem is because when I hit Alt-A, it opens my Xubuntu terminal windows Menu > Tabs menu item.
So by default the supplied xubuntu / xfce terminal has hotkeys that step on nano's hotkeys? Is this correct or have I modified them and forgot?
nano
When using nano in the terminal, to do the "write file append" command, it lists the keystroke "M-A".
I am completely confused what this key command actually means. I read somewhere that it means Alt-A, which didn't work.
What am I supposed to use?
EDIT: I think the problem is because when I hit Alt-A, it opens my Xubuntu terminal windows Menu > Tabs menu item.
So by default the supplied xubuntu / xfce terminal has hotkeys that step on nano's hotkeys? Is this correct or have I modified them and forgot?
nano
nano
edited Mar 18 '17 at 23:18
asked Mar 18 '17 at 22:09
ScottF
2521315
2521315
1
"didn't work" how exactly? Alt-A should be the right interpretation - the slightly confusing thing is that the keymapping only applies in the "write screen" (i.e. after you've hit Ctrl-O). In regular edit mode, M-A (Alt-A) sets a mark in the text.
– steeldriver
Mar 18 '17 at 22:23
2
TryescthenAinstead.
– Doug Smythies
Mar 18 '17 at 23:51
add a comment |
1
"didn't work" how exactly? Alt-A should be the right interpretation - the slightly confusing thing is that the keymapping only applies in the "write screen" (i.e. after you've hit Ctrl-O). In regular edit mode, M-A (Alt-A) sets a mark in the text.
– steeldriver
Mar 18 '17 at 22:23
2
TryescthenAinstead.
– Doug Smythies
Mar 18 '17 at 23:51
1
1
"didn't work" how exactly? Alt-A should be the right interpretation - the slightly confusing thing is that the keymapping only applies in the "write screen" (i.e. after you've hit Ctrl-O). In regular edit mode, M-A (Alt-A) sets a mark in the text.
– steeldriver
Mar 18 '17 at 22:23
"didn't work" how exactly? Alt-A should be the right interpretation - the slightly confusing thing is that the keymapping only applies in the "write screen" (i.e. after you've hit Ctrl-O). In regular edit mode, M-A (Alt-A) sets a mark in the text.
– steeldriver
Mar 18 '17 at 22:23
2
2
Try
esc then A instead.– Doug Smythies
Mar 18 '17 at 23:51
Try
esc then A instead.– Doug Smythies
Mar 18 '17 at 23:51
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
accepted
M-A means ALT+A. But that does not directly appends the contents to the file selected.
ALT+A toggles the mode of modification of file between "write to file" and "append to file" shown in the images below:
File name to write to
File name to append to
After you toggle to the desired command, press Enter.
This will append the contents to the file.
New contributor
Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
A test example using the append write file output option.
Starting conditions:
doug@s15:~$ cat cccc
this is file cccc.
doug@s15:~$ cat bbbb
this is file bbbb.
Now, nano cccc, and then Ctrl+O, followed by CTRL+X, followed by Esc then A but change this:
File Name to Append to: cccc
To this:
File Name to Append to: bbbb
And then Enter followed by CTRL+X
See this:
doug@s15:~$ cat bbbb
this is file bbbb.
this is file cccc.
Note: There are other key combinations to achieve the same end result. See the help file within nano, a segment extracted below:
The notation for shortcuts is as follows: Control-key sequences are
notated with a caret (^) symbol and can be entered either by using the
Control (Ctrl) key or pressing the Escape (Esc) key twice. Escape-key
sequences are notated with the Meta (M-) symbol and can be entered using
either the Esc, Alt, or Meta key depending on your keyboard setup.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
M-A means ALT+A. But that does not directly appends the contents to the file selected.
ALT+A toggles the mode of modification of file between "write to file" and "append to file" shown in the images below:
File name to write to
File name to append to
After you toggle to the desired command, press Enter.
This will append the contents to the file.
New contributor
Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
1
down vote
accepted
M-A means ALT+A. But that does not directly appends the contents to the file selected.
ALT+A toggles the mode of modification of file between "write to file" and "append to file" shown in the images below:
File name to write to
File name to append to
After you toggle to the desired command, press Enter.
This will append the contents to the file.
New contributor
Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
M-A means ALT+A. But that does not directly appends the contents to the file selected.
ALT+A toggles the mode of modification of file between "write to file" and "append to file" shown in the images below:
File name to write to
File name to append to
After you toggle to the desired command, press Enter.
This will append the contents to the file.
New contributor
Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
M-A means ALT+A. But that does not directly appends the contents to the file selected.
ALT+A toggles the mode of modification of file between "write to file" and "append to file" shown in the images below:
File name to write to
File name to append to
After you toggle to the desired command, press Enter.
This will append the contents to the file.
New contributor
Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 2 days ago
New contributor
Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered Nov 19 at 20:17
Akash Pushkar
263
263
New contributor
Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
up vote
0
down vote
A test example using the append write file output option.
Starting conditions:
doug@s15:~$ cat cccc
this is file cccc.
doug@s15:~$ cat bbbb
this is file bbbb.
Now, nano cccc, and then Ctrl+O, followed by CTRL+X, followed by Esc then A but change this:
File Name to Append to: cccc
To this:
File Name to Append to: bbbb
And then Enter followed by CTRL+X
See this:
doug@s15:~$ cat bbbb
this is file bbbb.
this is file cccc.
Note: There are other key combinations to achieve the same end result. See the help file within nano, a segment extracted below:
The notation for shortcuts is as follows: Control-key sequences are
notated with a caret (^) symbol and can be entered either by using the
Control (Ctrl) key or pressing the Escape (Esc) key twice. Escape-key
sequences are notated with the Meta (M-) symbol and can be entered using
either the Esc, Alt, or Meta key depending on your keyboard setup.
add a comment |
up vote
0
down vote
A test example using the append write file output option.
Starting conditions:
doug@s15:~$ cat cccc
this is file cccc.
doug@s15:~$ cat bbbb
this is file bbbb.
Now, nano cccc, and then Ctrl+O, followed by CTRL+X, followed by Esc then A but change this:
File Name to Append to: cccc
To this:
File Name to Append to: bbbb
And then Enter followed by CTRL+X
See this:
doug@s15:~$ cat bbbb
this is file bbbb.
this is file cccc.
Note: There are other key combinations to achieve the same end result. See the help file within nano, a segment extracted below:
The notation for shortcuts is as follows: Control-key sequences are
notated with a caret (^) symbol and can be entered either by using the
Control (Ctrl) key or pressing the Escape (Esc) key twice. Escape-key
sequences are notated with the Meta (M-) symbol and can be entered using
either the Esc, Alt, or Meta key depending on your keyboard setup.
add a comment |
up vote
0
down vote
up vote
0
down vote
A test example using the append write file output option.
Starting conditions:
doug@s15:~$ cat cccc
this is file cccc.
doug@s15:~$ cat bbbb
this is file bbbb.
Now, nano cccc, and then Ctrl+O, followed by CTRL+X, followed by Esc then A but change this:
File Name to Append to: cccc
To this:
File Name to Append to: bbbb
And then Enter followed by CTRL+X
See this:
doug@s15:~$ cat bbbb
this is file bbbb.
this is file cccc.
Note: There are other key combinations to achieve the same end result. See the help file within nano, a segment extracted below:
The notation for shortcuts is as follows: Control-key sequences are
notated with a caret (^) symbol and can be entered either by using the
Control (Ctrl) key or pressing the Escape (Esc) key twice. Escape-key
sequences are notated with the Meta (M-) symbol and can be entered using
either the Esc, Alt, or Meta key depending on your keyboard setup.
A test example using the append write file output option.
Starting conditions:
doug@s15:~$ cat cccc
this is file cccc.
doug@s15:~$ cat bbbb
this is file bbbb.
Now, nano cccc, and then Ctrl+O, followed by CTRL+X, followed by Esc then A but change this:
File Name to Append to: cccc
To this:
File Name to Append to: bbbb
And then Enter followed by CTRL+X
See this:
doug@s15:~$ cat bbbb
this is file bbbb.
this is file cccc.
Note: There are other key combinations to achieve the same end result. See the help file within nano, a segment extracted below:
The notation for shortcuts is as follows: Control-key sequences are
notated with a caret (^) symbol and can be entered either by using the
Control (Ctrl) key or pressing the Escape (Esc) key twice. Escape-key
sequences are notated with the Meta (M-) symbol and can be entered using
either the Esc, Alt, or Meta key depending on your keyboard setup.
edited Mar 19 '17 at 0:24
answered Mar 18 '17 at 22:49
Doug Smythies
6,95631428
6,95631428
add a comment |
add a comment |
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%2faskubuntu.com%2fquestions%2f894436%2fnano-m-a-hotkey%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
1
"didn't work" how exactly? Alt-A should be the right interpretation - the slightly confusing thing is that the keymapping only applies in the "write screen" (i.e. after you've hit Ctrl-O). In regular edit mode, M-A (Alt-A) sets a mark in the text.
– steeldriver
Mar 18 '17 at 22:23
2
Try
escthenAinstead.– Doug Smythies
Mar 18 '17 at 23:51