Jump to content

Maddog

Member
  • Posts

    78
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Maddog

  1. Yep, there are complex workflows and argument heavy workflows that I just don't use because the only history search command I know is "up".

     

    For example, there's this "What's binding the port" workflow, that I sometimes really need (because something is taking up a port) but normally I don't use every day, the syntax is very hard to remember. In the terminal, I have fzf so I never get frustrated typing a long command, I know I'll never have to type it again if I remember a part of it.

  2. Ehhh... silly of me to update Alfred so soon after release.

     

    Anyway, this workflow doesn't work in Alfred 4, thought it was worth mentioning - the upgrade migration process hasn't migrated my client ID/API key, and the welcome screen that suggests opening "Spotify Application page" does not open it, this is the error I see in the debugger:

     

    >/bin/bash: /Users/<username>/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.vdesabou.spotify.mini.player/action.log: No such file or directory

     

    When I created that file manually, it worked.

  3. On 12/23/2018 at 5:49 AM, Mehdi said:

    @Maddog here is what you're looking for : https://github.com/w0lfschild/moreMenu

     

     

    Appreciate the mention, I found it already a few months ago, couldn't get it to work on El Cap, then upgraded to Mojave and couldn't get it to work there as well. Maybe I haven't tried hard enough, it felt pretty hacky and I gave up quickly.

     

    Instead, I have recently completely hidden my menu bar (I have a shortcut that brings it back if needed). I appreciate the extra real-estate and don't miss it. It was always just a trap to get me to use the mouse :)

     

  4. I don't know if my hand is shaking or if my keyboard is too sensitive (I did change the default repeat rate in OSX), but I keep merging clipboard items accidentally, I sort of like the merge feature and would like to try to keep using it, but the regular shortcut is just not working out for me.

     

    Maybe there's a trick to changing it to something else?

     

    EDIT: I'm using a bunch of other keyboard oriented utilities - Seil, Karabiner, Hammerspoon

     

    Thanks

  5. On 10/24/2018 at 7:47 AM, dixhuit said:

    @Maddog Did you ever get anywhere with this? I've bumped into this thread twice now wondering if such a thing exists. Might have a go myself if there's nothing out there.

     

    @dixhuit - I only ever think about doing it when my iterm crashes and I have to restore all my tabs/panes manually.

    But over time crashes that reset the positions of everything became pretty rare (restarting the OS or iterm flawlessly restores everything reliably now, it used to be very buggy).

  6. Hey, sorry...

     

    OS: 10.11.6

    Alfred: 3.6.2 (922)

    Process Control: 1.0.6

     

    Yeah, the workflow just doesn't show anything, the debug shows:

     

    [2018-08-06 10:05:35][ERROR: input.scriptfilter] Code 1: ~/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Scripts/F4B6A515-4330-4787-A8F6-B96452EDC1E5:4:in `split': invalid byte sequence in UTF-8 (ArgumentError)
    	from ~/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Scripts/F4B6A515-4330-4787-A8F6-B96452EDC1E5:4:in `<main>'

     

    Thanks

     

  7. 2 hours ago, deanishe said:

    All the same, it's safest to put your apps in /Applications or ~/Applications, and delete any other copies of the same app.

     

    The update process for VSCode is putting some version (not sure if it's the new one or the old one) under /Library/Caches and for at least a couple of days after the update, I'd randomly get either the old or the new version. It's out of my control unfortunately. Hopefully now that I have the full path it won't happen anymore.

     

    Thanks for the tip, I moved my other editor out of ~/Downloads.

  8. @deanishe - I'm wondering, how does this workflow search for the app which we pass in the config?

     

    I've been having issues forever with VSCode where right after it updates (for a day or two), this plugin would open the wrong VSCode and not the one from /Applications.

    I tried setting the full path in the config and it seem to have solved the problem, but I'm wondering how it works, because I think I'm having similar issues with other editors as well (which could be in ~/Downloads AND in /Applications).

  9. 53 minutes ago, deanishe said:

    What do you have running in 5 panes?

     

    Every tab is project oriented and some projects consist of client+server or a main project+library and I usually work on both at the same time.

     

    1. one big pane for either tests or console output of the main aspect of the project

    2. watch and transpile (Typescript)

    3. for client-side builder and bundler (some projects do #2 & #3 at the same time, some are broken into separate transpile step and another for test/build/bundle)

    4. Supporting mini-services, mostly custom ones because I start most 3rd party services from hotel + alfred

    5. I also work on cli apps and one app can do different things, so for every type of major command I have a pane

     

     

  10. Yeah, my guess was that you're doing much more on the terminal, I almost never connect to remote shells and do all editing in VSCode.

    In the terminal I always have at least 2 windows with many (many) tabs and panes, usually with a special 2-5 pane-layout per project.

     

    So I was looking for a tool that will allow me to predefine these pane-layouts easily so I can close tabs and not worry about losing a silly thing like where my panes used to be and which folder they had open.

     

    I watched a video about tmux, I feel like if I ever switch to 50/50 linux/mac it'll be worthwhile to learn, but while I'm 100% on mac, the iTerm tabs/panes feel more natural than "simulated" tabs/panes if that makes sense.

  11. @deanishe Do you use iTerm and don't use its split panes feature and instead use tmux? Or do you use another terminal emulator altogether?

     

    I'm not super attached to the split panes feature in iTerm, I know the shortcut to split, but never learned all the other shortcuts. I'm willing to learn another tool if it's awesome.

     

    2 follow up questions:

    do you do anything with tmux from alfred?

    do you do most of your coding from the terminal? vim or something like that?

  12. 3 hours ago, deanishe said:

     

    The active application is by definition activated. Do you mean something else?

     

     

    Well, re-activating it. I just tried a couple of times (now that it's working) and I see that wherever I bring up the clipboard history, the original cursor stays "active" (blinking) in the active application throughout the pasting process (while Alfred is up as well), but that was not the case when the problem was occurring,  I had to click on the active application again before I was able to paste with the native CMD+V.

     

    EDIT: I don't know if it matters, I bring up the clipboard history with Caps Lock (hyper key remap) - which means it goes through stuff like Karabiner and Seil, maybe they for whatever reason mess up the focus?

×
×
  • Create New...