본문 바로가기

IT/Linux

[mac] 단축키 모음

OS X: Keyboard shortcuts 

You can use keyboard shortcuts to do things on your Mac by pressing a combination of keys on your keyboard.

Using keyboard shortcuts

To use a keyboard shortcut, press a modifier key at the same time as a character key. For example, pressing the Command key (it has a ⌘ symbol) and then the "c" key copies whatever is currently selected to the Clipboard. This is also known as the Command-C keyboard shortcut. You can see the keys that map to many shortcuts by looking in an app's menus.

A modifier key is a part of many keyboard shortcuts. A modifier key alters the way other keystrokes or mouse/trackpad clicks are interpreted by OS X. Modifier keys include: Command, Shift, Option, Control, Caps Lock, and the fn key. These keys are represented by special symbols when you see them in menus and other parts of OS X:

Command key
Control key
Option key
Shift Key
Caps Lock
fnFunction Key

 

When the fn key is used with the top row of keys on your keyboard, it makes them perform a different function. For example, if a keyboard shortcut is Control-F2, you can press fn-Control-Brightness on your keyboard.. If you look closely at the Brightness key at the top of your keyboard, there is an F2 symbol indicating that this key works as a function ey (F2 or function 2) when you hold fn on the keyboard.

If you use a non-Apple keyboard that includes a Windows key, the Alt key is the same thing as pressing Option, and the Windows key is the same thing as the Command key. You can change how these keys are interpreted from the Keyboard pane of System Preferences

Cut, copy and paste

You can use these shortcuts in most apps to cut, copy, or paste a selected item. This includes text, pictures, music, and more. You can even copy and paste files in the Finder to copy them to a new location.

Key combinationWhat it does
Command-CCopy the selected data to the Clipboard
Command-XRemove the selected item and place a copy on the Clipboard
Command-VPlace a copy of (paste) the Clipboard contents into the current document or app

Taking screenshots

Use these shortcuts to take a picture of what you see on your screen. You can also use Grab to take screenshots, an app located in the Utilities folder.

Key combinationWhat it does
Command-Shift-3Capture the screen to a file
Command-Shift-Control-3Capture the screen to the Clipboard
Command-Shift-4Capture a selection of the screen to a file, or press the spacebar to capture just a window
Command-Shift-Control-4Capture a selection of the screen to the Clipboard, or press the spacebar to capture just a window

Startup shortcuts

Use these key combinations to change how your computer starts up. Press and hold the key or combination of keys immediately after starting your Mac until the expected function occurs or appears. For example, press and hold the Option key during startup until the Startup Manager appears.

Note: If you're using a keyboard manufactured by someone other than Apple, the Alt key is usually the same key as the Option key. If this modifier doesn't appear to work, try using an Apple keyboard instead.

Key or key combinationWhat it does
Option or AltDisplay all startup volumes (Startup Manager)
ShiftStart up in Safe Mode
CStart from bootable media (DVD, CD, USB thumb drive)
TStart up in Target disk mode
NStart from a NetBoot server
XForce OS X startup (when non-OS X startup volumes are available)
DUse Apple Hardware Test
Command-RUse OS X Recovery (OS X Lion or later)
Command-Option-RUse Internet Recovery on supported computers
Command-VStart up in Verbose Mode
Command-SStart up in Single User Mode
Command-Option-P-RReset NVRAM
Hold down the Media Eject (⏏) key, F12 key, or mouse or trackpad buttonEject removable discs

Sleep, shut down, and log out shortcuts 

Use these key combinations after your Mac has started up to sleep, shut down, log out of, or restart your computer.

Key or key combinationWhat it does
Power buttonTap to power on. Once powered on, tap the power button to wake or sleep your Mac.
Hold down the power button for 1.5 secondsShow the restart / sleep / shut down dialog
Hold down the power button for 5 secondsForce the Mac to power off
Control-Power button

Show the restart / sleep / shut down dialog
Command-Control-power buttonForce the Mac to restart

Command-Option-Power button

Put the computer to sleep
Command-Control-Power button
Quit all apps (after giving you a chance to save changes to open documents), then restart the computer

Command-Option-Control-Power button

Quit all apps (after giving you a chance to save changes to open documents), then shut down the computer
Shift-Control-Power button
Put all displays to sleep
Command-Shift-QLog Out
Command-Shift-Option-QLog Out immediately

App shortcuts

These keyboard shortcuts work in most apps.

Key combinationWhat it does
Command-ASelect all items or text in the frontmost window
Command-ZUndo the previous command (some apps allow you to undo multiple times)
Command-Shift-ZRedo, puts back the last change made with undo (some apps allow you to redo multiple times)
Command-Space barShow or hide the Spotlight search field
(if multiple languages are being used simultaneously, this shortcut may rotate through enabled script systems instead)
Command-Option-Space barShow the Spotlight search results window (if multiple languages are installed, may rotate through keyboard layouts and input methods within a script)
Command-TabMove forward to the next most recently used app in a list of open apps
Option-Media Eject (⏏)Eject from secondary optical media drive (if one is installed)
Command-Brightness down (F1)Toggle "Mirror Displays" on multi-monitor configurations
Command-Brightness up (F2)Toggle Target Display Mode
Command-Mission Control  (F3)Show Desktop
Command-F5Toggle VoiceOver On or Off
Option-Brightness (F2)Opens "Displays" System Preference
Option-Mission Control (F3)Open Mission Control preferences
Option-Volume key (F12)Open Sound preferences
Command-Minus (–)Decrease the size of the selected item
Command-Colon (:)Display the Spelling and Grammar window
Command-Semicolon (;)Find misspelled words in the document
Command-Comma (,)Open the front app's preferences window
Command-Question Mark (?)Open the Help menu
Command-plus (+)
or Command-Shift-Equals (=)
Increase the size of the selected item
Command-Option-DShow or hide the Dock
Command-Control-DShow or hide the definition of a selected word
Command-DSelects the Desktop folder in Open and Save dialogs
Command-DeleteSelects Don't Save in dialogs that contain a Delete or Don't Save button
Command-EUse the selection for a find
Command-FOpen a Find window or find text in a document
Command-Option-FMove to the search field control
Command-GFind the next occurrence of the selection
Command-Shift-GFind the previous occurrence of the selection
Command-HHide the windows of the currently running app
Command-Option-HHide the windows of all other running apps
Command-Option-IDisplay an inspector window
Command-MMinimize the active window to the Dock
Command-Option-MMinimize all windows of the active app to the Dock
Command-NCreate a new document in the frontmost app
Command-ODisplay a dialog for choosing a document to open in the frontmost app
Command-PPrint the current document
Command-Shift-PDisplay a window for specifying document parameters (Page Setup)
Command-QQuit the frontmost app
Command-SSave the active document
Command-Shift-SDisplay the Save As dialog or duplicate the current document
Command-Option-TShow or hide a toolbar
Command-WClose the frontmost window
Command-Option-WClose all windows in the current app
Command-ZUndo previous command (some apps allow for multiple Undos)
Command-Shift-ZRedo, puts back last change made using undo (some apps allow for multiple Redos)
Command-Option-escchoose an app to Force Quit
Command-Shift-Option-Esc (hold for three seconds)Force Quit the front-most app

Working with Text

Use these key combinations when editing text in a field or document.

Key combinationWhat it does
Command-BBold the selected text or toggle bold text on or off
Command-IItalicize the selected text or toggle italic text on or off
Command-UUnderline the selected text or toggle underline on or off
Command-TShow or hide the Fonts window
fn-DeleteForward Delete (on a portable Mac's built-in keyboard)
fn-Up ArrowScroll up one page (same as Page Up key)
fn-Down ArrowScroll down one page (same as Page Down key)
fn-Left ArrowScroll to the beginning of a document (same as Home key)
fn-Right ArrowScroll to the end of a document (same as End key)
Command-Right ArrowMove the text insertion point to the end of the current line
Command-Left ArrowMove the text insertion point to the beginning of the current line
Command-Down ArrowMove the text insertion point to the end of the document
Command-Up ArrowMove the text insertion point to the beginning of the document
Option-Right ArrowMove the text insertion point to the end of the next word
Option-Left ArrowMove the text insertion point to the beginning of the previous word
Option-DeleteDelete the word that is left of the cursor, as well as any spaces or punctuation after the word

Command-Shift-Right Arrow

Select text between the insertion point and the end of the current line (*)
Command-Shift-Left ArrowSelect text between the insertion point and the beginning of the current line (*)
Command-Shift-Up ArrowSelect text between the insertion point and the beginning of the document (*)
Command-Shift-Down ArrowSelect text between the insertion point and the end of the document (*)
Shift-Left ArrowExtend text selection one character to the left (*)
Shift-Right ArrowExtend text selection one character to the right (*)
Shift-Up ArrowExtend text selection to the line above, to the nearest character boundary at the same horizontal location (*)
Shift-Down ArrowExtend text selection to the line below, to the nearest character boundary at the same horizontal location (*)
Shift-Option-Right ArrowExtend text selection to the end of the current word, then to the end of the following word if pressed again (*)
Shift-Option-Left ArrowExtend text selection to the beginning of the current word, then to the beginning of the following word if pressed again (*)
Shift-Option-Down ArrowExtend text selection to the end of the current paragraph, then to the end of the following paragraph if pressed again (*)
Shift-Option-Up ArrowExtend text selection to the beginning of the current paragraph, then to the beginning of the following paragraph if pressed again (*)
Control-AMove to beginning of line or paragraph
Control-BMove one character backward
Control-DDelete the character in front of the cursor
Control-EMove to the beginning of a line or paragraph
Control-FMove one character forward
Control-HDelete the character behind the cursor
Control-KDelete from the character in front of the cursor to the end of the line or paragraph
Control-LCenter the cursor or selection in the visible area
Control-NMove down one line
Control-OInsert a new line after the cursor
Control-PMove up one line
Control-TTranspose the character behind the cursor and the character in front of the cursor
Control-VMove down 
Command-{Left-align a selection
Command-}Right-align a selection
Command-|Center-align a selection
Command-Option-CCopy the formatting settings of the selected item and store on the Clipboard
Command-Option-VApply the style of one object to the selected object (Paste Style)
Command-Shift-Option-VApply the style of the surrounding text to the inserted object (Paste and Match Style)
Command-Control-VApply formatting settings to the selected object (Paste Ruler)

Accessibility

These keyboard shortcuts help you control your Mac with your keyboard or assistive devices. Some of these shortcuts need to be enabled in the Keyboard pane or Accessibility pane of System Preferences.

Accessibility and VoiceOver keyboard commands

Key combinationWhat it does
Command-Option-F5Display Accessibility Options
Command-F5 or fn-Command-F5Turn VoiceOver on or off
Option-Control-F8 or fn-Option-Control-F8Open VoiceOver Utility (if VoiceOver is on)
Command-Option-8Turn Zoom on or off
Command-Option-Plus (+)Zoom In
Command-Option-Minus (–)Zoom Out
Command-Option-Control-8Invert/revert the screen colors
Command-Option-Control-Comma (,)Reduce contrast 
Command-Option-Control-Period (.)Increase contrast

Note: You may need to enable "Use all F1, F2, etc. keys as standard keys" in Keyboard preferences for the VoiceOver menu and utility to work.

 

Full keyboard access

Full keyboard access lets you use your keyboard to navigate and interact with items on the screen. Use these shortcuts to select and adjust controls such as text fields and sliders. This setting can be toggled by pressing Control-F7, or by selecting Full Keyboard Access from the Shortcuts pane of Keyboard preferences in System Preferences. 

Key combinationWhat it does
TabMove to the next control
Shift-TabMove to the previous control
Control-TabMove to the next control when a text field is selected
Shift-Control-TabMove focus to the previous grouping of controls
Arrow keys

Move to the adjacent item in a list, tab group, or menu or
Move sliders and adjusters (vertical up and down arrows used to increase and decrease values)

Control-Arrow keysMove to a control adjacent to the text field
Space barSelect the highlighted menu item
Return or EnterClick the default button or perform the default action
EscClick the Cancel button or
Close a menu without choosing an item
Shift-Control-F6Move focus to the previous panel
Control-F7Temporarily override the current keyboard access mode in windows and dialogs
Control-F8Move to the status menus in the menu bar
Command-Accent (`)Activate the next open window in the frontmost app
Command-Shift-Accent (`)Activate the previous open window in the frontmost app
Command-Option-Accent (`)Move focus to the window drawer

You can navigate the menus in the menu bar without using a mouse or trackpad. To put the focus in the menu bar, press Control-F2 (fn-Control-F2 on portable keyboards). Then use the key combinations listed below.

Key combinationWhat it does
Left Arrow and Right ArrowMove from menu to menu
ReturnOpen a selected menu
Up Arrow and Down ArrowMove to menu items in the selected menu
Type the menu item’s nameJump to a menu item in the selected menu
ReturnSelect a menu item

 

Accessibility - Mouse Keys

When Mouse Keys is turned on in Accessibility preferences, you can use the keyboard or numeric keypad keys to move the mouse pointer. 

Key combinationWhat it does
8 or numeric keypad 8Move Up
K or numeric keypad 2Move Down
U or numeric keypad 4Move Left
O or numeric keypad 6Move Right
J or numeric keypad 1Move Diagonally Bottom Left
L or numeric keypad 3Move Diagonally Bottom Right
7 or numeric keypad 7Move Diagonally Top Left
9 or numeric keypad 9Move Diagonally Top Right
I or numeric keypad 5Press Mouse Button
M or numeric keypad 0Hold Mouse Button
. (period key)Release Hold Mouse Button

Finder shortcuts

Key combinationWhat it does
Command-ASelect all files in the frontmost window
Command-Option-ADeselect all items
Command-CCopy selected files, then use Paste or Move to move the files.
Command-DDuplicate the selected files
Command-EEject
Command-FFind any matching Spotlight attribute
Command-IShow the Get Info window for a selected file
Command-Shift-COpen the Computer window
Command-Shift-DOpen the desktop folder
Command-Shift-FShow the All My Files window
Command-Shift-GGo to Folder
Command-Shift-HOpen the Home folder of the currently logged-in user account
Command-Shift-IOpen iCloud Drive
Command-Shift-KOpen the Network window
Command-Shift-LOpen the Downloads folder
Command-Shift-OOpen the Documents folder
Command-Shift-ROpen the AirDrop window
Command-Shift-UOpen the Utilities folder
Command-Control-TAdd to Sidebar (OS X Mavericks)
Command-Option-IShow or hide the Inspector window
Command-Control-IGet Summary Info
Command-Option-PHide or show the path bar
Command-Option-SHide or show the Sidebar
Command-forward slash (/)Hide or show the status bar
Command-JShow View Options
Command-KConnect to Server
Command-LMake alias of the selected item
Command-NNew Finder window
Command-Shift-NNew folder
Command-Option-NNew Smart Folder
Command-OOpen selected item
Command-RShow original (of alias)
Command-TShow or hide the tab bar when a single tab is open in the current Finder window
Command-Shift-TShow or hide Finder tab 
Command-Option-THide or Show Toolbar when a single tab is open in the current Finder window
Command-VPaste copies of files you've placed on the clipboard to the current location.
Command-Option-VMove the files you've placed on the clipboard from their original location to the current location.
Command-Option-YView a QuickLook slideshow of your selected files.
Command-1View as Icon
Command-2View as List
Command-3View as Columns
Command-4View as Cover Flow (Mac OS X v10.5 or later)
Command-Comma (,)Open Finder preferences
Command-Left Bracket ([)Go to the previous folder
Command-Right Bracket (])Go to the next folder
Command-Up ArrowOpen the folder that contains the current folder
Command-Control-Up ArrowOpen the folder that contains the current folder in a new window
Command-Down ArrowOpen highlighted item
Right Arrow (in List view)Open the selected folder
Left Arrow (in List view)Close the selected folder
Option-click the disclosure triangle (in List view)Open all folders within the selected folder
Option–double-clickOpen a folder in a separate window, closing the current window
Command–double-clickOpen a folder in a separate tab or window
Command-click the window titleSee the folders that contain the current window
Command-DeleteMove to Trash
Command-Shift-DeleteEmpty Trash
Command-Shift-Option-DeleteEmpty Trash without confirmation dialog
Space bar (or Command-Y)Quick Look selected files
Command key while draggingMove the dragged item to another volume or location
(the pointer changes while key is held)
Option key while draggingCopy the dragged item
(the pointer changes while key is held)
Command-Option key combination while draggingMake an alias of the dragged item
(the pointer changes while key is held)


'IT > Linux' 카테고리의 다른 글

[rsync] 주요 옵션 정리 링크  (0) 2015.01.06
[centos] linux 메모리 확인  (0) 2014.12.01
[유용한 명령어] 계속 업데이트중...  (0) 2014.11.21
[tomcat] api서버가 403 fobidden 뱉어낼 때.  (0) 2014.10.22
리눅스 그룹관리  (0) 2014.10.10