How to implement text editing features in terminal interface?
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
Sorry if the title is confusing but essentially what I want is to have standard text editor features like Command< to move to the beginning of the line or CommandShiftBackspace to erase a line. Is it possible to implement such stuff in the terminal interface? Preferably, I would not download a terminal emulator like iTerm etc..
macos terminal command-line
add a comment |Â
up vote
4
down vote
favorite
Sorry if the title is confusing but essentially what I want is to have standard text editor features like Command< to move to the beginning of the line or CommandShiftBackspace to erase a line. Is it possible to implement such stuff in the terminal interface? Preferably, I would not download a terminal emulator like iTerm etc..
macos terminal command-line
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
Sorry if the title is confusing but essentially what I want is to have standard text editor features like Command< to move to the beginning of the line or CommandShiftBackspace to erase a line. Is it possible to implement such stuff in the terminal interface? Preferably, I would not download a terminal emulator like iTerm etc..
macos terminal command-line
Sorry if the title is confusing but essentially what I want is to have standard text editor features like Command< to move to the beginning of the line or CommandShiftBackspace to erase a line. Is it possible to implement such stuff in the terminal interface? Preferably, I would not download a terminal emulator like iTerm etc..
macos terminal command-line
macos terminal command-line
edited Aug 11 at 0:13
bmikeâ¦
150k45266584
150k45266584
asked Aug 10 at 21:55
Abby
724
724
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
There are ways to navigate in the terminal but they don't use the macOS keystrokes for navigation as the BASH shell actually predate macOS/NeXT. For example CtrlA moves to the beginning of a line and CtrlE moves the cursor to the end of a line. A quick search online on BASH shell keyboard shortcuts will yield a whole list like this, for example.
As an alternative BBEdit is a text editor that has been around on the Mac for ever. Way Pre-OS X. And one of the features is a command line window that acts much like a text editor and uses the standard Mac keybindings. But then you'll have to buy a programmers text editor to get the features you want in a shell window.
Might be best if you just learn the BASH keybindings, as that is lots cheaper ;-)
thanks for pointing me in the right direction as I actually had no idea that what I wanted was even easily available... but the more you know!! I will look into what you said
â Abby
Aug 10 at 22:18
Incidentally, quite a few of these key bindings will work in macOS text input fields as well.
â duskwuff
Aug 11 at 1:19
1
NeXT is older than bash. Most shells have these keystrokes. Also note that until OSX 10.3ish bash was not the shell it was csh. The keystrokes come from NeXT they are actually emacs keybindings
â Mark
Aug 11 at 11:04
@mark While NeXT may or may not have used emacs keybindings, the Mac itself has always used them. They didn't come from NeXT.
â Marc Wilson
Aug 11 at 15:58
1
@MarcWilson Early Classic Mac keyboard does not have a control key so can't have the emacs shortcuts en.wikipedia.org/wiki/Apple_Keyboard#/media/â¦
â Mark
Aug 11 at 19:11
add a comment |Â
up vote
1
down vote
Apple has the complete (AFAIK) set of Terminal Keyboard shortcuts on their support website. It seems thay cover at least some of what you're looking for. THere's also an expanded set of topics relating to various aspects of terminal use that should be helpful.
It's not complete, a number of the emacs readline keybindings are lacking (c-p, c-n, c-t, c-y, â¦)
â Kevin
Aug 11 at 1:14
1
well, it's complete enough :p
â Abby
Aug 11 at 9:19
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
There are ways to navigate in the terminal but they don't use the macOS keystrokes for navigation as the BASH shell actually predate macOS/NeXT. For example CtrlA moves to the beginning of a line and CtrlE moves the cursor to the end of a line. A quick search online on BASH shell keyboard shortcuts will yield a whole list like this, for example.
As an alternative BBEdit is a text editor that has been around on the Mac for ever. Way Pre-OS X. And one of the features is a command line window that acts much like a text editor and uses the standard Mac keybindings. But then you'll have to buy a programmers text editor to get the features you want in a shell window.
Might be best if you just learn the BASH keybindings, as that is lots cheaper ;-)
thanks for pointing me in the right direction as I actually had no idea that what I wanted was even easily available... but the more you know!! I will look into what you said
â Abby
Aug 10 at 22:18
Incidentally, quite a few of these key bindings will work in macOS text input fields as well.
â duskwuff
Aug 11 at 1:19
1
NeXT is older than bash. Most shells have these keystrokes. Also note that until OSX 10.3ish bash was not the shell it was csh. The keystrokes come from NeXT they are actually emacs keybindings
â Mark
Aug 11 at 11:04
@mark While NeXT may or may not have used emacs keybindings, the Mac itself has always used them. They didn't come from NeXT.
â Marc Wilson
Aug 11 at 15:58
1
@MarcWilson Early Classic Mac keyboard does not have a control key so can't have the emacs shortcuts en.wikipedia.org/wiki/Apple_Keyboard#/media/â¦
â Mark
Aug 11 at 19:11
add a comment |Â
up vote
1
down vote
There are ways to navigate in the terminal but they don't use the macOS keystrokes for navigation as the BASH shell actually predate macOS/NeXT. For example CtrlA moves to the beginning of a line and CtrlE moves the cursor to the end of a line. A quick search online on BASH shell keyboard shortcuts will yield a whole list like this, for example.
As an alternative BBEdit is a text editor that has been around on the Mac for ever. Way Pre-OS X. And one of the features is a command line window that acts much like a text editor and uses the standard Mac keybindings. But then you'll have to buy a programmers text editor to get the features you want in a shell window.
Might be best if you just learn the BASH keybindings, as that is lots cheaper ;-)
thanks for pointing me in the right direction as I actually had no idea that what I wanted was even easily available... but the more you know!! I will look into what you said
â Abby
Aug 10 at 22:18
Incidentally, quite a few of these key bindings will work in macOS text input fields as well.
â duskwuff
Aug 11 at 1:19
1
NeXT is older than bash. Most shells have these keystrokes. Also note that until OSX 10.3ish bash was not the shell it was csh. The keystrokes come from NeXT they are actually emacs keybindings
â Mark
Aug 11 at 11:04
@mark While NeXT may or may not have used emacs keybindings, the Mac itself has always used them. They didn't come from NeXT.
â Marc Wilson
Aug 11 at 15:58
1
@MarcWilson Early Classic Mac keyboard does not have a control key so can't have the emacs shortcuts en.wikipedia.org/wiki/Apple_Keyboard#/media/â¦
â Mark
Aug 11 at 19:11
add a comment |Â
up vote
1
down vote
up vote
1
down vote
There are ways to navigate in the terminal but they don't use the macOS keystrokes for navigation as the BASH shell actually predate macOS/NeXT. For example CtrlA moves to the beginning of a line and CtrlE moves the cursor to the end of a line. A quick search online on BASH shell keyboard shortcuts will yield a whole list like this, for example.
As an alternative BBEdit is a text editor that has been around on the Mac for ever. Way Pre-OS X. And one of the features is a command line window that acts much like a text editor and uses the standard Mac keybindings. But then you'll have to buy a programmers text editor to get the features you want in a shell window.
Might be best if you just learn the BASH keybindings, as that is lots cheaper ;-)
There are ways to navigate in the terminal but they don't use the macOS keystrokes for navigation as the BASH shell actually predate macOS/NeXT. For example CtrlA moves to the beginning of a line and CtrlE moves the cursor to the end of a line. A quick search online on BASH shell keyboard shortcuts will yield a whole list like this, for example.
As an alternative BBEdit is a text editor that has been around on the Mac for ever. Way Pre-OS X. And one of the features is a command line window that acts much like a text editor and uses the standard Mac keybindings. But then you'll have to buy a programmers text editor to get the features you want in a shell window.
Might be best if you just learn the BASH keybindings, as that is lots cheaper ;-)
answered Aug 10 at 22:13
Steve Chambers
12.2k21234
12.2k21234
thanks for pointing me in the right direction as I actually had no idea that what I wanted was even easily available... but the more you know!! I will look into what you said
â Abby
Aug 10 at 22:18
Incidentally, quite a few of these key bindings will work in macOS text input fields as well.
â duskwuff
Aug 11 at 1:19
1
NeXT is older than bash. Most shells have these keystrokes. Also note that until OSX 10.3ish bash was not the shell it was csh. The keystrokes come from NeXT they are actually emacs keybindings
â Mark
Aug 11 at 11:04
@mark While NeXT may or may not have used emacs keybindings, the Mac itself has always used them. They didn't come from NeXT.
â Marc Wilson
Aug 11 at 15:58
1
@MarcWilson Early Classic Mac keyboard does not have a control key so can't have the emacs shortcuts en.wikipedia.org/wiki/Apple_Keyboard#/media/â¦
â Mark
Aug 11 at 19:11
add a comment |Â
thanks for pointing me in the right direction as I actually had no idea that what I wanted was even easily available... but the more you know!! I will look into what you said
â Abby
Aug 10 at 22:18
Incidentally, quite a few of these key bindings will work in macOS text input fields as well.
â duskwuff
Aug 11 at 1:19
1
NeXT is older than bash. Most shells have these keystrokes. Also note that until OSX 10.3ish bash was not the shell it was csh. The keystrokes come from NeXT they are actually emacs keybindings
â Mark
Aug 11 at 11:04
@mark While NeXT may or may not have used emacs keybindings, the Mac itself has always used them. They didn't come from NeXT.
â Marc Wilson
Aug 11 at 15:58
1
@MarcWilson Early Classic Mac keyboard does not have a control key so can't have the emacs shortcuts en.wikipedia.org/wiki/Apple_Keyboard#/media/â¦
â Mark
Aug 11 at 19:11
thanks for pointing me in the right direction as I actually had no idea that what I wanted was even easily available... but the more you know!! I will look into what you said
â Abby
Aug 10 at 22:18
thanks for pointing me in the right direction as I actually had no idea that what I wanted was even easily available... but the more you know!! I will look into what you said
â Abby
Aug 10 at 22:18
Incidentally, quite a few of these key bindings will work in macOS text input fields as well.
â duskwuff
Aug 11 at 1:19
Incidentally, quite a few of these key bindings will work in macOS text input fields as well.
â duskwuff
Aug 11 at 1:19
1
1
NeXT is older than bash. Most shells have these keystrokes. Also note that until OSX 10.3ish bash was not the shell it was csh. The keystrokes come from NeXT they are actually emacs keybindings
â Mark
Aug 11 at 11:04
NeXT is older than bash. Most shells have these keystrokes. Also note that until OSX 10.3ish bash was not the shell it was csh. The keystrokes come from NeXT they are actually emacs keybindings
â Mark
Aug 11 at 11:04
@mark While NeXT may or may not have used emacs keybindings, the Mac itself has always used them. They didn't come from NeXT.
â Marc Wilson
Aug 11 at 15:58
@mark While NeXT may or may not have used emacs keybindings, the Mac itself has always used them. They didn't come from NeXT.
â Marc Wilson
Aug 11 at 15:58
1
1
@MarcWilson Early Classic Mac keyboard does not have a control key so can't have the emacs shortcuts en.wikipedia.org/wiki/Apple_Keyboard#/media/â¦
â Mark
Aug 11 at 19:11
@MarcWilson Early Classic Mac keyboard does not have a control key so can't have the emacs shortcuts en.wikipedia.org/wiki/Apple_Keyboard#/media/â¦
â Mark
Aug 11 at 19:11
add a comment |Â
up vote
1
down vote
Apple has the complete (AFAIK) set of Terminal Keyboard shortcuts on their support website. It seems thay cover at least some of what you're looking for. THere's also an expanded set of topics relating to various aspects of terminal use that should be helpful.
It's not complete, a number of the emacs readline keybindings are lacking (c-p, c-n, c-t, c-y, â¦)
â Kevin
Aug 11 at 1:14
1
well, it's complete enough :p
â Abby
Aug 11 at 9:19
add a comment |Â
up vote
1
down vote
Apple has the complete (AFAIK) set of Terminal Keyboard shortcuts on their support website. It seems thay cover at least some of what you're looking for. THere's also an expanded set of topics relating to various aspects of terminal use that should be helpful.
It's not complete, a number of the emacs readline keybindings are lacking (c-p, c-n, c-t, c-y, â¦)
â Kevin
Aug 11 at 1:14
1
well, it's complete enough :p
â Abby
Aug 11 at 9:19
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Apple has the complete (AFAIK) set of Terminal Keyboard shortcuts on their support website. It seems thay cover at least some of what you're looking for. THere's also an expanded set of topics relating to various aspects of terminal use that should be helpful.
Apple has the complete (AFAIK) set of Terminal Keyboard shortcuts on their support website. It seems thay cover at least some of what you're looking for. THere's also an expanded set of topics relating to various aspects of terminal use that should be helpful.
answered Aug 10 at 22:19
Seamus
41527
41527
It's not complete, a number of the emacs readline keybindings are lacking (c-p, c-n, c-t, c-y, â¦)
â Kevin
Aug 11 at 1:14
1
well, it's complete enough :p
â Abby
Aug 11 at 9:19
add a comment |Â
It's not complete, a number of the emacs readline keybindings are lacking (c-p, c-n, c-t, c-y, â¦)
â Kevin
Aug 11 at 1:14
1
well, it's complete enough :p
â Abby
Aug 11 at 9:19
It's not complete, a number of the emacs readline keybindings are lacking (c-p, c-n, c-t, c-y, â¦)
â Kevin
Aug 11 at 1:14
It's not complete, a number of the emacs readline keybindings are lacking (c-p, c-n, c-t, c-y, â¦)
â Kevin
Aug 11 at 1:14
1
1
well, it's complete enough :p
â Abby
Aug 11 at 9:19
well, it's complete enough :p
â Abby
Aug 11 at 9:19
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f333382%2fhow-to-implement-text-editing-features-in-terminal-interface%23new-answer', 'question_page');
);
Post as a guest
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
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
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