日常的に使っているショートカットを列挙する。アプリごとに紹介していくので重複があるけど、重複しているやつはここに載っていない他のアプリでも使える可能性が高いから覚えておくとお得。
注意
- ショートカットが動くコンテキストは面倒くさいので書いてない
- デフォルトのキーから変更したものもある
- これも面倒くさいのでデフォルトのキーは調べていないが、XcodeはPreferences > Key BindingsのFilterから、Google ChromeはHelpのSearchから検索できるようにできるだけ正式な名前を書いている
- 名前の後ろに
*
がついているのは正式な名前が不明だったもの - キー+トラックパッドなショートカットは書かない*1
Xcode
雑に書いたけどXcodeだけで50個以上あったわ、ガハハ。
- ⌘ r: Run
- ⌘ b: Build
- ⇧⌘ b: Analyze
- ⌃⌘ b: Compile File
- ⌘ .: Stop
- ⇧⌘ k: Clean
- ⌃⇥: Show Next Tab
- ⌃⇧⇥: Show Previous Tab
- ⌃`: Move Focus to Next Editor
- ⌃⌘ t: New Editor
- ⌃⌘ w: Close Editor
- ⌃⌘ y: Pause/Continue
- ⌘ y: Activate/Deactivate Breakpoints
- ⌃⌘ 6: Step Over
- ⌘ 1: Project
- ⌘ 5: Issues
- ⌘ 8: Breakpoints
- ⌘ 9: Reports
- ⌘ 0: Show/Hide Navigator
- ⌥⌘ 0: Show/Hide Inspector
- ⇧⌘ y: Show/Hide Debug Area
- ⌥⌘ p: Refresh Canvas
- ⌥⌘ ⌤: Show/Hide Preview
- ⌃⌘ o: Choose Scheme
- ⌘ a: Select All
- ⌘ c: Copy
- ⌘ v: Paste
- ⌘ x: Cut
- ⌘ z: Undo
- ⇧⌘ z: Redo
- ⌘ ,: Preferences
- ⌘ /: Comment/Uncomment
- ⌘ f: Find
- ⌥⌘ f: Find and Replace
- ⇧⌘ f: Find in Workspace
- ⌘ e: Use Selection for Find
- ⌘ g: Find Next
- ⇧⌘ g: Find Previous
- ⌥⌘ [: Move Line Up
- ⌥⌘ ]: Move Line Down
- ⌘ n: New File
- ⌥⌘ o: Open in Tab
- ⌘ w: Close Tab
- ⌥⌘ w: Close Other Tabs
- ⇧⌘ o: Open Quickly
- ⌘ l: Jump to
- ⌃i: Re-Indent
- ⌃j: Join Paragraphs
- ⌃f: Move Forward
- ⌃b: Move Backward
- ⌃⌥f: Move Word Forward
- ⌃⌥b: Move Word Backward
- ⌃p: Move Up
- ⌃n: Move Down
- ⌃a: Move to Beginning of Paragraph
- ⌃e: Move to End of Paragraph
- ⌃v: Move Page Down
- ⌃k: Delete to End of Paragraph
- ⌃y: Yank
- ⌃d: Delete Forward
- ⌃h: Delete Backward
Google Chrome
- ⌃⇥: Select Next Tab
- ⌃⇧⇥: Select Previous Tab
- ⌘ 1/2/3/4/5/6/7/8: Select Nth Tab*
- ⌘ 9: Select Last Tab*
- ⌘ w: Close Tab
- ⌥⌘ w: Close Other Tabs
- ⇧⌘ w: Close Window
- ⌘ t: New Tab
- ⇧⌘ t: Reopen Closed Tab
- ⌘ n: New Window
- ⇧⌘ n: New Incognito Window
- ⌘ l: Open Location
- ⌘ r: Reload This Page
- ⇧⌘ b: Always Show Bookmarks Bar
- ⌘ f: Find
- ⌥⌘ i: Developer Tools
- ⌘ ⌤: Open in New Tab
- ⇧⌘ ⌤: Open in New Window
- ⌘ a: Select All
- ⌘ c: Copy
- ⌘ v: Paste
- ⌘ x: Cut
- ⌘ z: Undo
- ⇧⌘ z: Redo
- ⌃f: Move Forward*
- ⌃b: Move Backward*
- ⌃p: Move Up*
- ⌃n: Move Down*
- ⌃a: Move to Beginning of Paragraph*
- ⌃e: Move to End of Paragraph*
- ⌃v: Move Page Down*
- ⌃k: Delete to End of Paragraph*
- ⌃y: Yank*
- ⌃d: Delete Forward*
- ⌃h: Delete Backward*
Google IME
- ⌃j: Replace to hiragana
- ⌃k: Replace to katakana
- ⌃;: Replace to half width
- ⌃': Replace to ascii
- ⌃a: Move cursor to the beginning
- ⌃e: Move cursor to the end
- ⌃f: Move cursor to right
- ⌃b: Move cursor to left
- ⌃d: Delete
- ⌃h: Backspace
- ⌃a: Move segment focus to the first segment
- ⌃e: Move segment focus to the last segment
- ⌃f: Move segment focus right
- ⌃b: Move segment focus left
- ⌃h: Cancel
- ⌃i: Shrink segment
- ⌃o: Expand segment
- ⌃n: Select next candidate
- ⌃p: Select previous candidate
- ⌃⇧n: Select next page
- ⌃⇧p: Select previous page
- ⌃⇧r: Reconvert
macOS
- ⌃␣ Show Spotlight search
- ⇧⌘ l: Move right a space
- ⇧⌘ h: Move left a space
- ⌘ `: Move focus to next window
- ⇧⌘ `: Move focus to previous window
- ⇧⌘ 3: Save picture of screen as a file
- ⌃⇧⌘ 3: Copy picture of screen to the clipboard
- ⇧⌘ 4: Save picture of selected area as a file
- ⌃⇧⌘ 4: Copy picture of selected area to the clipboard
- ⇧⌘ 5: Screenshot and recording options
- ⌘ ⇥: Switch to Next App*
- ⇧⌘ ⇥: Switch to Previous App*
- ␣ Select Focused Control*
- ⌤: Select Default Action*
- ⇥: Move focus to next control*
- ⇧⇥: Move focus to previous control*
おわり
人知れず実装されているショートカットはまだまだあるぞ。残りは君の目で確かめてくれ!!!!!便利なのがあったら教えてね。
*1:Google Chromeの⌘ LMBの類