mutasem Posted October 7, 2017 Posted October 7, 2017 (edited) Cheatsheet Alfred workflow that gets shortcuts for applications, websites, tools and others. Use the keyboard more. Github repo workflow file Supported right now Alfred AutoMute Chrome extension Evernote Finder Firefox Google Chrome IntelliJ Idea (default Mac OS X) Mac OSX Microsoft Word Outlook Reddit Enhancement Suite Safari Slack Sublime Text Terminal Video Speed Controller chrome extension Vim Vintage Sublime github.com iTerm2 inbox.google.com trello.com youtube.comI focused on the stuff I use everyday to start with. Let me know what tools you would like this to support. Or better make a pull request with it. Edited November 3, 2017 by mutasem updated list Yuri and xilopaint 1 1
xilopaint Posted October 7, 2017 Posted October 7, 2017 Would it be possible to add Airmail? mutasem 1
xilopaint Posted October 7, 2017 Posted October 7, 2017 +1 for Pixelmator and Evernote. mutasem and JGC 2
mutasem Posted October 8, 2017 Author Posted October 8, 2017 Awesome, I will add them to the list. JGC 1
politicus Posted October 8, 2017 Posted October 8, 2017 (edited) Very useful for a keyboard shortcut junkie like me. Thank you! Dear Santa, here is my list: Asana Excel Airmail Default Folder X Firefox Forklift Keyboard Maestro Opera TextExpander VLC Workflowy Xcode Thank you Santa! Edited October 8, 2017 by politicus artdev and mutasem 2
edbro Posted October 8, 2017 Posted October 8, 2017 Is there a way for individual users to modify this for the apps they choose? I tried unzipping the workflow, editing shortcuts.py and rezipping into cheatsheet.workflow but when I went to install it said "document could not be opened".
xilopaint Posted October 8, 2017 Posted October 8, 2017 (edited) 1 hour ago, edbro said: Is there a way for individual users to modify this for the apps they choose? I tried unzipping the workflow, editing shortcuts.py and rezipping into cheatsheet.workflow but when I went to install it said "document could not be opened". Right-click on the workflow in Alfred Preferences and choose Open in Finder so you can edit its files. Edited October 8, 2017 by xilopaint
mutasem Posted October 8, 2017 Author Posted October 8, 2017 @edbro you don't need to unzip and zip back. Just open it through alfred workflow preferences (right click on workflow -> open in terminal/finder) and edit the shortcuts.py file in there. The shortcuts.py file generates a cPickle file that the workflow reads, so you need to run [python shortcuts.py] to update the cheatsheet_default.pkl file. I don't recommend this because it will be overwritten by any update I make. The simplest way for now might be to add make your changes in a separate object and keep track of those changes outside of the workflow. I am still working on a feature to allow user-specific shortcuts from the datastore.
politicus Posted October 8, 2017 Posted October 8, 2017 Quote I am still working on a feature to allow user-specific shortcuts from the datastore. +100
Yuri Posted October 9, 2017 Posted October 9, 2017 Awesome! Would it be possible to add: - Photoshop - Illustrator - Sketch Thank you! mutasem 1
politicus Posted October 9, 2017 Posted October 9, 2017 I modified the Show iTunes mini player keyboard shortcut in Alfred and the default keyboard shortcut appears in the workflow.
mutasem Posted October 9, 2017 Author Posted October 9, 2017 (edited) You have to run the shortcuts.py code, because it generates a cPickle file that's faster to read from. > python shortcuts.py Any changes will be overwritten by any update. I will try to add the feature to allow user-specific shortcuts as soon as I can. I already redid the structure to split the modules into several files instead of one big one. Edited October 9, 2017 by mutasem
mutasem Posted October 11, 2017 Author Posted October 11, 2017 Just released a new version that's customizable, with added support for Firefox, Safari and Microsoft Word. You can easily find the custom.json file to edit from the workflow itself, or overwrite any defaults from the workflow too. To update, you can wait for the workflow to give you the option to update (it checks once a day), or you can just enter [cheatsheet workflow:update] into Alfred. Enjoy cands and JGC 2
mutasem Posted October 14, 2017 Author Posted October 14, 2017 @politicus @edbro any feedback on newly added customization?
edbro Posted October 14, 2017 Posted October 14, 2017 I hav 2 hours ago, mutasem said: @politicus @edbro any feedback on newly added customization? I haven't figured out how yet.
mutasem Posted October 15, 2017 Author Posted October 15, 2017 (edited) @edbro are you sure you have updated? can you find Safari in the list? If not, type in [cheatsheet workflow:update] to force an update. I just added two gifs on customization to the github Edited October 15, 2017 by mutasem
edbro Posted October 15, 2017 Posted October 15, 2017 Got it! I followed the example and now have a custom set of keywords! Thank you very much. mutasem 1
politicus Posted October 15, 2017 Posted October 15, 2017 Starting debug for 'Productivity Cheatsheet' [2017-10-15 20:22:04][input.scriptfilter] Queuing argument '' [2017-10-15 20:22:07][input.scriptfilter] Script with argument '(null)' finished [2017-10-15 20:22:07][ERROR: input.scriptfilter] Code 1: 20:22:06 workflow.py:1743 DEBUG default data serializer: json 20:22:07 workflow.py:1774 DEBUG data `custom` stored as `json` Traceback (most recent call last): File "cheatsheet.py", line 165, in <module> custom = wf.stored_data('custom') File "/Users/Users/Dropbox/Applications_Backups/Alfred_Backups/Backup_Alfred/Alfred.alfredpreferences/workflows/user.workflow.5DB72A1C-0D8A-4B9E-B375-32B8042360AF/workflow/workflow.py", line 1787, in stored_data data = serializer.load(file_obj) File "/Users/Users/Dropbox/Applications_Backups/Alfred_Backups/Backup_Alfred/Alfred.alfredpreferences/workflows/user.workflow.5DB72A1C-0D8A-4B9E-B375-32B8042360AF/workflow/workflow.py", line 608, in load return json.load(file_obj) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load **kw) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads return _default_decoder.decode(s) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 369, in decode raise ValueError(errmsg("Extra data", s, end, len(s))) ValueError: Extra data: line 7 column 1 - line 11 column 2 (char 59 - 128) @mutasem Here is my feedback.
mutasem Posted October 16, 2017 Author Posted October 16, 2017 @politicus this is clearly an issue with your custom.json file. I think the issue is that you are adding extra data after the main json object outside of the main curly brackets {}. As such, it cannot load a faulty json file. To fix this, Sublime has plugins for fixing jsons or use an online tool. Or go down to line 7 - 11 and try to fix it yourself. Or post here so we can help you fix it. I attached a photo of what my json looks like with multiple apps (the custom_app_example is generated automatically to help users).
deanishe Posted October 16, 2017 Posted October 16, 2017 On 15/10/2017 at 8:24 PM, politicus said: @mutasem Here is my feedback. Not even a "thank you" for adding 12 new apps?
politicus Posted November 1, 2017 Posted November 1, 2017 @mutasem Sorry for the late reply. Thanks for your answer. Downloading the workflow latest version and fixing the .json file made it. And thank you forget for the 12 added applications cc @deanishe Alphabetically reordering the list of the supported applications in your first post would be helpful mutasem 1
mutasem Posted November 3, 2017 Author Posted November 3, 2017 List updated. Added support for IntelliJ, Slack and Evernote. cands 1
shortbread Posted July 18, 2018 Posted July 18, 2018 I transcribed the shortcuts for Google Sheets, in case anyone wants them ! { "Google Sheets" : { "Select column" : "Ctrl + Space", "Select row" : "Shift + Space", "Select all" : "⌘ + a or ⌘ + Shift + Space", "Undo" : "⌘ + z", "Redo" : "⌘ + y or ⌘ + Shift + z or Fn + F4", "Find" : "⌘ + f", "Find and replace" : "⌘ + Shift + h", "Fill range" : "⌘ + Enter", "Fill down" : "⌘ + d", "Fill right" : "⌘ + r", "Save" : "⌘ + s", "Open" : "⌘ + o", "Print" : "⌘ + p", "Copy" : "⌘ + c", "Cut" : "⌘ + x", "Paste" : "⌘ + v", "Paste values only" : "⌘ + Shift + v", "Show common keyboard shortcuts" : "⌘ + /", "Compact controls" : "Ctrl + Shift + f", "Input tools on/off" : "⌘ + Shift + k", "Select input tools" : "⌘ + Option + Shift + k", "Bold" : "⌘ + b", "Underline" : "⌘ + u", "Italic" : "⌘ + i", "Strikethrough" : "Option + Shift + 5", "Center align" : "⌘ + Shift + e", "Left align" : "⌘ + Shift + l", "Right align" : "⌘ + Shift + r", "Apply top border" : "Option + Shift + 1", "Apply right border" : "Option + Shift + 2", "Apply bottom border" : "Option + Shift + 3", "Apply left border" : "Option + Shift + 4", "Remove borders" : "Option + Shift + 6", "Apply outer border" : "Option + Shift + 7 or ⌘ + Shift + 7", "Insert link" : "⌘ + k", "Insert time" : "⌘ + Shift + ;", "Insert date" : "⌘ + ;", "Insert date and time" : "⌘ + Option + Shift + ;", "Format as decimal" : "Ctrl + Shift + 1", "Format as time" : "Ctrl + Shift + 2", "Format as date" : "Ctrl + Shift + 3", "Format as currency" : "Ctrl + Shift + 4", "Format as percentage" : "Ctrl + Shift + 5", "Format as exponent" : "Ctrl + Shift + 6", "Clear formatting" : "⌘ + \\", "Move to beginning of row" : "Fn + Left arrow", "Move to beginning of sheet" : "⌘ + Fn + Left arrow", "Move to end of row" : "Fn + Right arrow", "Move to end of sheet" : "⌘ + Fn + Right arrow", "Scroll to active cell" : "⌘ + Backspace", "Move to next sheet" : "⌘ + Shift + Fn + Down arrow", "Move to previous sheet" : "⌘ + Shift + Fn + Up arrow", "Display list of sheets" : "Option + Shift + k", "Open hyperlink" : "Option + Enter", "Open Explore" : "Option + Shift + x", "Move focus out of spreadsheet" : "Ctrl + ⌘ + Shift + m", "Move to quicksum (when a range of cells is selected)" : "Option + Shift + q", "Move focus to popup (for links, bookmarks, and images)" : "holding Ctrl + ⌘, press e then p", "Open drop-down menu on filtered cell" : "Ctrl + ⌘ + r", "Open revision history" : "⌘ + Option + Shift + h", "Open chat inside the spreadsheet" : "Shift + Esc", "Close drawing editor" : "⌘ + Esc or Shift + Esc", "Insert/edit note" : "Shift + F2", "Insert/edit comment" : "⌘ + Option + m", "Open comment discussion thread" : "⌘ + Option + Shift + a", "Enter current comment" : "holding Ctrl + ⌘, press e then c", "Move to next comment" : "holding Ctrl + ⌘, press n then c", "Move to previous comment" : "holding Ctrl + ⌘, press p then c", "File menu" : "Ctrl + Option + f", "Edit menu" : "Ctrl + Option + e", "View menu" : "Ctrl + Option + v", "Insert menu" : "Ctrl + Option + i", "Format menu" : "Ctrl + Option + o", "Data menu" : "Ctrl + Option + d", "Tools menu" : "Ctrl + Option + t", "Open insert menu" : "⌘ + Option + = (with cells selected)", "Open delete menu" : "⌘ + Option + - (with cells selected)", "Form menu" : "Ctrl + Option + m", "Add-ons menu" : "Ctrl + Option + n", "Help menu" : "Ctrl + Option + h", "Accessibility menu" : "Ctrl + Option + a", "Sheet menu (copy, delete, and other sheet actions)" : "Option + Shift + s", "Context menu" : "⌘ + Shift + \\", "Insert rows above" : "⌘ + Option + = (with rows selected) OR Ctrl + Option + i, then r", "Insert rows below" : "Ctrl + Option + i, then b", "Insert columns to the left" : "⌘ + Option + = (with columns selected) OR Ctrl + Option + i, then c", "Insert columns to the right" : "Ctrl + Option + i, then o", "Delete rows" : "⌘ + Option + - (with rows selected) OR Ctrl + Option + e, then d", "Delete columns" : "⌘ + Option + - (with columns selected) OR Ctrl + Option + e, then e", "Hide row" : "⌘ + Option + 9", "Hide column" : "⌘ + Option + 0", "Group rows or columns" : "Option + Shift + Right arrow", "Ungroup rows or columns" : "Option + Shift + Left arrow", "Expand grouped rows or columns" : "Option + Shift + Down arrow ", "Collapse grouped rows or columns" : "Option + Shift + Up arrow ", "Show all formulas" : "Ctrl + ~", "Insert array formula" : "⌘ + Shift + Enter", "Collapse an expanded array formula" : "⌘ + e", "Show/hide formula help (when entering a formula)" : "Shift + Fn + F1", "Full/compact formula help (when entering a formula)" : "Fn + F1", "Absolute/relative references (when entering a formula)" : "Fn + F4", "Toggle formula result previews (when entering a formula)" : "Fn + F9", "Resize formula bar (move up or down)" : "Ctrl + Option + Up and Ctrl + Option + Down", "Turn on screen reader support" : "⌘ + Option + z", "Read column" : "⌘ + Option + Shift + c", "Read row" : "⌘ + Option + Shift + r" } } mutasem 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now