Jump to content

odapg

Member
  • Posts

    6
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by odapg

  1. For those interested in this workflow, I have updated my personal version of @Wayne Yao's alfred-cheat, using the modifications @giovanni made to port it to Python 3/Alfred 5. The main difference with Wayne Yao's original workflow is the possibility to have a quicklook view of the cheatsheet.

     

    If you are interested, you can have a look at

     

    https://github.com/odapg/alfred-cheat/
     

    Any comment/suggestion is welcome!

  2. Well, I could not reach Wayne Yao, so I decided to modify this workflow myself 🙂

    So here is a new version of Alfred-Cheat! You can download it and find detailed explanations on github.

     

    What's new:

    • Main new feature : a Quicklook view. Just hit ⇧ or ⌘Y after opening a cheatsheet, and a page as shown below appears.

    • Small improvements :

      • Open your cheatsheet in your text editor by hitting ⌘↵

      • Slight syntax changes for cheatsheets (to put sections for the Quicklook view or hidden lines)

      • Open the large type view by hitting ⌘L

      • I changed wx-Yao's cheat keyword into cht because I find it quicker. But it is easy to reverse this change.

     

    Comments, suggestions or bugs reports are most welcome!

     

    quicklook.thumb.jpg.6d076a9b8343181ffc2b836f170aaccc.jpg

     

  3. @Johannes About the LaTeX workflow: I had the same problem, it appears to be a known issue, see https://github.com/wookayin/alfred-latex-symbols-workflow/issues/4

     

    The workaround given there worked for me:

     

    Quote

    wookayin commented on 15 Jun 2018

    As a workaround until I fix the issue, you can do the following:

    • Make sure that ruby is installed in your system (e.g. /usr/bin/ruby)
    • Locate the workflow directory (Right-click on the workflow -- Open in Finder/Terminal to get the path)
    • Open the terminal and go to the workflow directory. Then:
    
    $ bundle install --standalone
    

     

    I had to install bundler (https://bundler.io) on my computer before, by using

    sudo gem install bundler

    and then it worked like a charm.

     

  4. Hi, thanks for the workflow, I find it great.

    You mention on github that you are open to suggestions, so here are three of them:

    — would there be a way to add invisible comments in the file? Now I just put #comments and then two line breaks, but this could probably be nicer.

    — without adding the possibility of modifying the cheat sheet in Alfred, maybe could ⌘O directly open the file in the user's favorite text editor?

    — based on the file, there may be a way to automatically generate an hmtl cheat sheet that could be seen with quicklook when pressing ⇧, what do you think? (I am thinking of stuff like https://www.mediaatelier.com/CheatSheet/ or https://www.ergonis.com/products/keycue/)

×
×
  • Create New...