T
T
tarya2012-09-02 21:45:06
macOS
tarya, 2012-09-02 21:45:06

Move the cursor to the beginning or end of the line (home, end)?

Good afternoon friends. I'm on a poppy not so long ago, soon a year. But I have a little difficulty. On a Windows keyboard (in Windows), you can always hold down Ctrl + Shift + arrow (maybe you already forgot) - and the cursor will move to the beginning or end of the line. Right there on the poppy in the terminal, this is done as Shift + Fn + arrow, in browsers Cmd + arrow, but if it does this in an editable iframe or div.contenteditable, then if you press the back arrow like this, the browser will return to the page back. And in text editors it works for me in which Control + arrow and even Options + arrow. Fortunately, in phpstorm I set it to Command + arrow so that it was somehow the same, but I still don’t understand why.
Friends tell me how to come to some kind of the same value, so that the head remembers once and for all how to reap. Since I write code, and sometimes the texts need to be edited and regularly you need to move the cursor to the beginning or end of the line.
Now I have 10.8.
Thanks for your time and answers.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vitaliy Petrychuk, 2012-09-02
@vermilion1

In the contenteditable, everything is ok, as in the iframe (I'm talking about Cmd + ← / →)
The only place where this combination is not used is the terminal.
Can you give a site with contenteditable where "back" works for you?

N
nuclear, 2012-09-02
@nuclear

Try Ctrl-A, Ctrl-E.
I do not have Java applications, but it seems to work everywhere.

T
tarya, 2012-09-03
@tarya

Ctrl-A, Ctrl-E unfortunately doesn't work in Evernote and probably in other applications as well. I'm even frankly surprised friends. The system is good and I really like it, but such seemingly simple things do not work and do not have a single standard.

I
iStyx, 2012-09-08
@iStyx

You can assign the keys/combinations [Ctrl][Shift]Home/End/PgUp/PgDown to their more logical behavior.
Open the file ~/Library/KeyBindings/DefaultKeyBinding.dictand make it look like this:

After that, you need to restart those Cocoa applications in which you need this behavior.
In order for Home / End to work in the terminal, you need to assign the following actions in the settings, on the “Keyboard” tab:
home- \001
end-\005

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question