Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > OS X Keyboard Shotcuts for text editing

OS X Keyboard Shotcuts for text editing
Thread Tools
Junior Member
Join Date: Mar 2005
Location: Leeds, UK
Status: Offline
Reply With Quote
Apr 4, 2005, 06:02 PM
 
I'm a recent switcher to mac from PC. I've been used to the system-wide keyboard shortcuts for Windows for years now and really rely on them to speed my way around editing text in any application.

What are the Mac equivalents (for OS X) for these Windows keyboard shortcuts for text editing?

Windows:

beginning of line (Home Key)
end of line (End Key)
begining of document (CRTL + Home)
End of document (CRTL + End)
Back /Forward one word at a time (CRTL + left or right arrow key respectively.)
Select to end of line (SHIFT + End - seems to select to end of document on Mac)
select characters forward/backwards (SHIFT + right or left arrow respectively.)

If anyone could enlighten me on the Mac equivalents that would be so good - as I prefer the Apple Pro Wireless keyboard to any PC keyboard I've ever used! (which have been quite expensive at times.)
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Apr 4, 2005, 06:34 PM
 
Beginning of line: control-left
End of line: control-right
Beginning of document: home
End of document: end
Back/forward one word at a time: option-left/right
Select while moving cursor: shift (can be combined with any of the others)
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status: Offline
Reply With Quote
Apr 4, 2005, 06:55 PM
 
Originally posted by Chuckit:
Select while moving cursor: shift (can be combined with any of the others)
...including up/down arrows for selecting until end of line - or contents of single-line text-entry box, or whatever.
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Apr 4, 2005, 06:57 PM
 
Actually, the shortcuts for beginning and end of line are command-left and command-right, not control.

However, in Cocoa apps (and TextWrangler), you can also use the emacs shortcuts - control-E for the end of a line and control-A for the beginning of a line. I find these handy because you don't have to move your hands from the home row, unlike either home/end or command-left and command-right.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Junior Member
Join Date: Oct 2004
Location: Salt Lake City, UT
Status: Offline
Reply With Quote
Apr 4, 2005, 10:53 PM
 
Control-left and Control-right work too.
12" 1.33 GHz SD Powerbook - 768 MB RAM
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Apr 5, 2005, 02:50 AM
 
Originally posted by mduser63:
Control-left and Control-right work too.
And they work properly in apps where command+arrow combinations are already bound to a command (such as OmniWeb). That's why I offered those.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Mac Elite
Join Date: Oct 2000
Location: Edinburgh, Scotland
Status: Offline
Reply With Quote
Apr 5, 2005, 03:08 AM
 
The home and end keys on the Mac only move the page you're viewing to either the start or end. If you want to move the cursor for text input, you're better to use command-up and command-down.

FWIW, not all emacs shortcuts work. Control-K does for cutting the current line, but rather irritatingly, control-u for uncutting/pasting doesn't. On top of that, the past command (command-v) doesn't work for text cut in that way. Very irritating to discover all that while you're in the middle of a MacNN forum post!!

BTW, why doesn't Undo work within web forms, Apple? It's really quite annoying!
ClamXav - the free virus scanner for Mac OS X | Geobunny learns to fly
     
Mac Elite
Join Date: Feb 2001
Location: Houston, Texas
Status: Offline
Reply With Quote
Apr 5, 2005, 08:28 AM
 
Also be sure to checkout the Keyboard & Mouse preference pane. There you can customize certain keyboard shortcuts for within applications.
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Apr 5, 2005, 11:32 AM
 
Originally posted by mduser63:
Control-left and Control-right work too.
Only in Cocoa apps. It doesn't work in any of the Carbon apps I've tried it with. Command-left and command-right work pretty much anywhere.

And if I'm in a Cocoa app anyway, I'd rather just use ctrl-A and ctrl-E.
(Last edited by CharlesS; Apr 5, 2005 at 11:38 AM. )

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Mac Elite
Join Date: Oct 2000
Location: Edinburgh, Scotland
Status: Offline
Reply With Quote
Apr 5, 2005, 12:42 PM
 
Originally posted by CharlesS:
Only in Cocoa apps. It doesn't work in any of the Carbon apps I've tried it with. Command-left and command-right work pretty much anywhere.
With the notable exception of Micro$oft Office - that key combo will only move your curser (sic) one word at a time. It gets me every single time!
ClamXav - the free virus scanner for Mac OS X | Geobunny learns to fly
     
Grizzled Veteran
Join Date: Apr 2004
Location: Nagoya, Japan • 日本 名古屋市
Status: Offline
Reply With Quote
Apr 6, 2005, 12:37 AM
 
Originally posted by Geobunny:
With the notable exception of Micro$oft Office - that key combo will only move your curser (sic) one word at a time. It gets me every single time!
Microsoft decided to implement their own text engine in Word, which is why some OS functions don't work. (People often have font trouble in Word too.) Adobe also has their own text engine, which they use in Photoshop and other applications.

BTW, why doesn't Undo work within web forms, Apple? It's really quite annoying!
It sounds like Tiger's CoreData will provide system-wide undo and redo.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Apr 6, 2005, 03:01 AM
 
Originally posted by CaptainHaddock:
It sounds like Tiger's CoreData will provide system-wide undo and redo.
NSUndoManager already provides undo support for Cocoa apps. They just have to call it. I can't imagine the situation will be much different with CoreData. If an app doesn't use a technology, it won't get the benefits.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Apr 6, 2005, 01:51 PM
 
Originally posted by Geobunny:
With the notable exception of Micro$oft Office - that key combo will only move your curser (sic) one word at a time. It gets me every single time!
Agreed, with Office v. X, I'd have to monkey around with the shortcut settings for at least 15 minutes before the thing would be in a usable state. To be fair, though, Office 2004 does seem to be better though. I don't own it, but on the machines I've used that had it installed, the command-right and command-left shortcuts actually seemed to work. There were others that were still missing, though.

Originally posted by Chuckit:
NSUndoManager already provides undo support for Cocoa apps. They just have to call it. I can't imagine the situation will be much different with CoreData. If an app doesn't use a technology, it won't get the benefits.
Yep, implementing an undo manager in Cocoa is so easy, it doesn't really seem fair.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:04 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2