Adding a by-name window-switcher really makes Aerospace shine even more #1163
Replies: 2 comments 2 replies
-
| There are a bunch of apps that can be used for this kind of workflow. At some point, I want to provide similar workflow in AeroSpace itself in form of "interactive" commands (WIP name): #236 I will probably reuse terminal + fzf, because I'm bad at writing GUIs, and CLI allows composability [mode.main.binding]
  alt-p = 'focus --interactive --fzf'If designed properly, it should be composable: [mode.main.binding]
  alt-p = 'exec-and-forget aerospace list-windows --workspace focused --interactive --fzf | aerospace focus --window-id -'
 | 
Beta Was this translation helpful? Give feedback.
-
| I used to use that Raycast feature, but I wanted a list of just the windows in the current Aerospace workspace. Here is the GitHub repository in case someone finds the code useful: Note: The code is not refactored or optimized. | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This isn't really Aerospace-specific, but I feel like it's meshed super-well with my Aerospace usage, and others might benefit from it.
In vi/VScode and related environments, I'm used to being able to either navigate to a window "spatially" ('move left one pane', okay, now 'move left another pane') or directly, by name. (See ctrlp.vim or VScode's Quick Open.) This is traditionally bound to ⌃P or ⌘P:
Well, today, I've configured Raycast to listen for ⌥P (as I've pretty much completely dedicated the ⌥ key to Aerospace navigation at this point):
… and now I get an awesome window-switcher whenever I hit that key-combo:
I'm sure there's other tools than Raycast that can do the same thing; Alfred, Contexts, and Witch spring to mind?
It's a great addition to Aerospace, so I don't have to necessarily remember which workspace I 'left that terminal on' if I get distracted by a side-task for too long.
Beta Was this translation helpful? Give feedback.
All reactions