阅读430 返回首页    go iPhone_iPad_Mac_apple


Keyboard Shortcut for "End of Line" & "Beg....

Hi All,

 

On the keyboard with the numeric keypad, are there keyboard shortcuts for moving the cursor to the beginning of the line, and to the end of the line?

 

I would also be curious to know if there is the equivalent, just including highlighting the entire line; both beginning of line and end of line.

 

 

In Windoze the equivalents are "Home", "End", "Shift-Home" and "Shift-End"

 

 

 

Many thanks!

 

 

Richard



Beginning of line: use Command-Left Arrow

 

End of line: use Command-Right Arrow

 

To highlight the entire line without using the mouse to do it: move the cursor to the beginning of the line; hold down Shift; press Command-Right Arrow

 

*****

 

Home = Command-Up Arrow

 

End = Command-Down Arrow

 

*****

 

Move insertion mark to beginning of paragraph it's in, or to beginning of previous paragraph: Option-Up Arrow

 

Move insertion mark to end of paragraph it's in, or to end of next paragraph - Option-Up Arrow

 

You can use Shift in conjunction with those to select the text between those points.

 

And, with text selected, you can hold down the Shift key and use the Left and Right arrow keys to adjust the end-point of the selected area one character at a time. If you add Option to Shift, you can use the Left and Right arrow keys to adjust the end-point one word at a time.



Depends on which apps you are talking about (except for some global mac conventions, see post below)

 

Certainly terminal has  conventions for this (see bash reference manual, 8.2 Readline Interaction).



Beginning of line: use Command-Left Arrow

 

End of line: use Command-Right Arrow

 

To highlight the entire line without using the mouse to do it: move the cursor to the beginning of the line; hold down Shift; press Command-Right Arrow

 

*****

 

Home = Command-Up Arrow

 

End = Command-Down Arrow

 

*****

 

Move insertion mark to beginning of paragraph it's in, or to beginning of previous paragraph: Option-Up Arrow

 

Move insertion mark to end of paragraph it's in, or to end of next paragraph - Option-Up Arrow

 

You can use Shift in conjunction with those to select the text between those points.

 

And, with text selected, you can hold down the Shift key and use the Left and Right arrow keys to adjust the end-point of the selected area one character at a time. If you add Option to Shift, you can use the Left and Right arrow keys to adjust the end-point one word at a time.



Thank you VERY much!!!!

 

 

Cheers!

 

Richard



Thank you, Don, a very comprehensive answer

 

Peter, UK



最后更新:2017-08-24 06:41:43

  上一篇:go Magic Mouse problem in Mac Photos
  下一篇:go In my apps adobe dc is using 436mb. can i delete?