Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Replace ALT with OPTION
  • Loading branch information
Kapeli committed Mar 1, 2021
1 parent 0f140e7 commit 1ace3f3
Show file tree
Hide file tree
Showing 28 changed files with 456 additions and 456 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -25,4 +25,4 @@ Try to use [Title Case](http://en.wikipedia.org/wiki/Letter_case#Title_case) onl

Try not to include really common keyboard shortcuts (e.g. Copy, Paste, Undo, Select All).

Keyboard modifiers should be listed in this order: `CMD+CTRL+ALT+SHIFT`.
Keyboard modifiers should be listed in this order: `CMD+CTRL+OPTION+SHIFT`.
2 changes: 1 addition & 1 deletion cheatsheets/Android_Emulator.rb
Expand Up @@ -94,7 +94,7 @@
end

entry do
command 'ALT+Enter'
command 'OPTION+Enter'
name 'Toggle fullscreen mode'
end

Expand Down
78 changes: 39 additions & 39 deletions cheatsheets/AppCode_Shortcuts.rb
Expand Up @@ -11,19 +11,19 @@
name 'Open corresponding tool window'
end
entry do
command 'CMD+ALT+Y'
command 'CMD+OPTION+Y'
name 'Synchronize'
end
entry do
command 'CMD+SHIFT+F12'
name 'Toggle maximizing editor'
end
entry do
command 'ALT+SHIFT+F'
command 'OPTION+SHIFT+F'
name 'Add to favorites'
end
entry do
command 'ALT+SHIFT+I'
command 'OPTION+SHIFT+I'
name 'Inspect current file with current profile'
end
entry do
Expand Down Expand Up @@ -89,7 +89,7 @@
name 'Implement methods'
end
entry do
command 'CMD+ALT+T'
command 'CMD+OPTION+T'
name 'Surround with...'
notes '`if...else`, `for`, `@try...@catch`, `@synchronized`, etc.'
end
Expand All @@ -98,35 +98,35 @@
name 'Comment or uncommment with line comment'
end
entry do
command 'CMD+ALT+/'
command 'CMD+OPTION+/'
name 'Comment or uncommment with block comment'
end
entry do
command 'ALT+Arrow Up'
command 'OPTION+Arrow Up'
name 'Select successively increasing code blocks'
end
entry do
command 'ALT+Arrow Down'
command 'OPTION+Arrow Down'
name 'Decrease current selection to previous state'
end
entry do
command 'CTRL+SHIFT+Q'
name 'Context info'
end
entry do
command 'ALT+Return'
command 'OPTION+Return'
name 'Show intention actions and quick-fixes'
end
entry do
command 'CMD+ALT+L'
command 'CMD+OPTION+L'
name 'Reformat code'
end
entry do
command 'CTRL+ALT+O'
command 'CTRL+OPTION+O'
name 'Optimize imports'
end
entry do
command 'CTRL+ALT+I'
command 'CTRL+OPTION+I'
name 'Auto-ident lines'
end
entry do
Expand Down Expand Up @@ -186,11 +186,11 @@
name 'Select until code block start'
end
entry do
command 'ALT+Delete'
command 'OPTION+Delete'
name 'Delete to word end'
end
entry do
command 'ALT+Backspace'
command 'OPTION+Backspace'
name 'Delete to word start'
end
entry do
Expand Down Expand Up @@ -230,7 +230,7 @@
name 'Select all occurrences'
end
entry do
command 'ALT+Left Click'
command 'OPTION+Left Click'
name 'Add new cursor'
end
end
Expand Down Expand Up @@ -267,7 +267,7 @@
category do
id 'Usage Search'
entry do
command 'ALT+F7'
command 'OPTION+F7'
name 'Find usage'
end
entry do
Expand All @@ -279,7 +279,7 @@
name 'Highlight usage in file'
end
entry do
command 'CMD+ALT+F7'
command 'CMD+OPTION+F7'
name 'Show usage'
end
end
Expand All @@ -296,15 +296,15 @@
name 'Run'
end
entry do
command 'CTRL+ALT+R'
command 'CTRL+OPTION+R'
name 'Select configuration and run'
end
entry do
command 'CTRL+D'
name 'Debug'
end
entry do
command 'CTRL+ALT+D'
command 'CTRL+OPTION+D'
name 'Select cofiguration and debug'
end
entry do
Expand Down Expand Up @@ -333,15 +333,15 @@
name 'Step out'
end
entry do
command 'ALT+F9'
command 'OPTION+F9'
name 'Run to cursor'
end
entry do
command 'ALT+F8'
command 'OPTION+F8'
name 'Evaluate expression'
end
entry do
command 'CMD+ALT+R'
command 'CMD+OPTION+R'
name 'Resume program'
end
entry do
Expand All @@ -366,7 +366,7 @@
name 'Go to file'
end
entry do
command 'CMD+ALT+O'
command 'CMD+OPTION+O'
name 'Go to symbol'
end
entry do
Expand Down Expand Up @@ -402,23 +402,23 @@
name 'Recent files popup'
end
entry do
command 'CMD+ALT+Arrow Left'
command 'CMD+OPTION+Arrow Left'
name 'Navigate back'
end
entry do
command 'CMD+ALT+Arrow Right'
command 'CMD+OPTION+Arrow Right'
name 'Navigate forward'
end
entry do
command 'CMD+SHIFT+Delete'
name 'Navigate to last edit location'
end
entry do
command 'CMD+ALT+Arrow Left'
command 'CMD+OPTION+Arrow Left'
name 'Navigate back'
end
entry do
command 'ALT+F1'
command 'OPTION+F1'
name 'Select current file or symbol in any view'
end
entry do
Expand All @@ -430,11 +430,11 @@
name 'Go to definition'
end
entry do
command 'CMD+ALT+B'
command 'CMD+OPTION+B'
name 'Go to implementation(s)'
end
entry do
command 'ALT+Space'
command 'OPTION+Space'
name 'Open quick definition lookup'
end
entry do
Expand Down Expand Up @@ -474,7 +474,7 @@
name 'Method hierarchy'
end
entry do
command 'CTRL+ALT+H'
command 'CTRL+OPTION+H'
name 'Call hierarchy'
end
entry do
Expand All @@ -498,7 +498,7 @@
name 'Toggle bookmark'
end
entry do
command 'ALT+F3'
command 'OPTION+F3'
name 'Toogle bookmark with mnemonic'
end
entry do
Expand Down Expand Up @@ -539,31 +539,31 @@
name 'Change signature'
end
entry do
command 'CMD+ALT+N'
command 'CMD+OPTION+N'
name 'Inline'
end
entry do
command 'CMD+ALT+M'
command 'CMD+OPTION+M'
name 'Extract method'
end
entry do
command 'CMD+ALT+V'
command 'CMD+OPTION+V'
name 'Introduce variable'
end
entry do
command 'CMD+ALT+P'
command 'CMD+OPTION+P'
name 'Introduce parameter'
end
entry do
command 'CMD+ALT+E'
command 'CMD+OPTION+E'
name 'Introduce property'
end
entry do
command 'CMD+ALT+C'
command 'CMD+OPTION+C'
name 'Introduce constant'
end
entry do
command 'CMD+ALT+I'
command 'CMD+OPTION+I'
name 'Introduce instance variable'
end
end
Expand All @@ -580,7 +580,7 @@
name 'Update project from VCS'
end
entry do
command 'ALT+SHIFT+C'
command 'OPTION+SHIFT+C'
name 'View recent changes'
end
entry do
Expand All @@ -593,7 +593,7 @@
category do
id 'Live Templates'
entry do
command 'CMD+ALT+J'
command 'CMD+OPTION+J'
name 'Surround with live template'
end
entry do
Expand Down
22 changes: 11 additions & 11 deletions cheatsheets/Atom.rb
Expand Up @@ -107,35 +107,35 @@
name 'Git status list'
end
entry do
command 'CMD+ALT+Z'
command 'CMD+OPTION+Z'
name 'Checkout head revision'
end
entry do
command 'ALT+G+Arrow Down'
command 'OPTION+G+Arrow Down'
name 'Move to next diff'
end
entry do
command 'ALT+G+Arrow Up'
command 'OPTION+G+Arrow Up'
name 'Move to previous diff'
end
end

category do
id 'Folding'
entry do
command 'CMD+ALT+['
command 'CMD+OPTION+['
name 'Fold current code block'
end
entry do
command 'CMD+ALT+]'
command 'CMD+OPTION+]'
name 'Unfold current code block'
end
entry do
command 'CMD+ALT+SHIFT+['
command 'CMD+OPTION+SHIFT+['
name 'Fold all code blocks'
end
entry do
command 'CMD+ALT+SHIFT+]'
command 'CMD+OPTION+SHIFT+]'
name 'Unfold all code blocks'
end
entry do
Expand All @@ -151,11 +151,11 @@
name 'Transpose characters either side of cursor'
end
entry do
command 'ALT+Backspace'
command 'OPTION+Backspace'
name 'Delete text to beginning of word'
end
entry do
command 'ALT+Delete'
command 'OPTION+Delete'
name 'Delete text to end of word'
end
end
Expand Down Expand Up @@ -211,11 +211,11 @@
name 'Select current line'
end
entry do
command 'ALT+SHIFT+Arrow Left'
command 'OPTION+SHIFT+Arrow Left'
name 'Select to beginning of word'
end
entry do
command 'ALT+SHIFT+Arrow Right'
command 'OPTION+SHIFT+Arrow Right'
name 'Select to end of word'
end
entry do
Expand Down

0 comments on commit 1ace3f3

Please sign in to comment.