注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

WA!Peter

广州天河, 香港火炭,深圳罗湖, 北京国贸

 
 
 

日志

 
 

Mac shortcut 苹果快捷键  

2009-09-26 13:48:40|  分类: mac |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
Quick reference:
App-X   means AppleKey + X (alphabet), which is like a flower (same position as PC Alt-key)
Opt-X  means the Option key (which has an "alt" label on top)   symbol in menu:   \_     
Ctr-X means the Control key - same location as PC keyboard



Xcode
---------------------------------------------------------------------------------------------------
App-Shift-R : open console - display debug message from : NSLog(@"message") 
App-B  : Build (compile)
App-Return(Enter):   Build and Run, use it with care, the best practice is to build first(App-B)
App-[  or  ] :   Move the whole line left or right indent (format code!)
Opt-App-Right or Left :  Navigate to last or next Editing position (may switch files!)
App-=  : next error or warning !!!  App=  same as Eclipse Ctl .
App-Shift-D : definition!  useful to open a new file! (type filename)
Escape : pop-up list on list of completion (usually after .)
App-Double click a symbol:   definition of the symbol
Opt-Double click a symbol :  help file for the symbol
Ctr-1 : list of project file
Ctr-2 : list of functions/symbol in this file
Ctr-3:  list of include files (.h)


General
---------------------------------------------------------------------------------------------------
Ctl-F2 : menu bar
F9 :  select Application
F10:  select a window _within_ the current Application
F11:  Desktop (same as PC Win-D)
App-`  :  switch window within Application  (` is on the left of 1, ~ key)
App-tab :  Switch application  (same as PC Alt-Tab)
App-Q :   Close the current application
App-W :   Close the current Windows (e.g. Safari has multiple instance, close one!)
App-L  : Goto the URL location in Safari 
App-Space : Spotlight search  OR language switch (english / chinese switch)
- u need to disable the Spotlight search in order to enable the language switch 
- Click upper-right corner:  US flag (美国国旗) -  Open Language & Text
- Keyboard Shortcuts - (left) Spotlight - [clear] Show spotlight search
- (left) Keyboard & Text input - [set] Select the previous input source (App-space)
App-[  and App-]   :   Safari go back and forward  (like PC Alt-Right, Alt-Left)
Modifier key change:   map Control to Option keys
- Mac (top-left logo) - System Preferences - Keyboard - Modifier Keys...
   Control ^ Key :  \_ Option     (peter: later i switch back to Control, Control-Tab is useful!)



Editor:
---------------------------------------------------------------------------------------------------
App-Left, App-Right :  move to leftmost or rightmost of the line
(note: same for Ctr-Left, Ctr-Right)

Opt-Left, Opt-Right:  navigate one word left, right  = PC Ctr-Left Ctr-Right

Page-Up, Page-Down:   move the "view" up a page or down a page, BUT not the cursor
Opt-Page-Up, Opt-Page-Down:  move the cursor up a page or down a page (same as PC Page-Up/Down)
note: in Macbook keyboard,  App-Up / Down = Page Up / Down

App-C : Copy (same as PC Ctr-C)
App-V : Paste  (same as PC Ctr-V)

Home:  move the "view" to the first line of the document (NOT first character on the line!!!)
End:     move the "view" to the end of the document

App-S : Save (usually save the current document)
App-Z : Undo  - use it with care, in Xcode it will ask you some questions.


Xcode
---------------------------------------------------------------------------------------------------
App-Shift-R : open console - display debug message from : NSLog(@"message") 
App-B  : Build (compile)
App-Return(Enter):   Build and Run, use it with care, the best practice is to build first(App-B)
App-[  or  ] :   Move the whole line left or right indent (format code!)
Opt-App-Right or Left :  Navigate to last or next Editing position (may switch files!)
App-=  : next error or warning !!!  App=  same as Eclipse Ctl .
 

Note:
Safari 4.0.3 : not compatible with hi.baidu.com

Ref:
Command and Control clash...
http://blog.fosketts.net/2008/06/17/command-and-control-the-clash-of-keyboards/

20 handy Mac keyboard shortcuts for Windows switchers
http://www.techradar.com/news/computing/apple/20-handy-mac-keyboard-shortcuts-for-windows-switchers-620103?artc_pg=2

Mac OS X Leopard: 200+ Productivity Booster Keyboard Shortcuts
http://www.usingmac.com/2007/11/21/mac-os-x-leopard-200-productivity-booster-hotkeys
  评论这张
 
阅读(1423)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017