I'm looking for a way to replicate the CTRL + Space functionality on macOS while using PowerShell. On Windows, this shortcut lists possible parameters without starting a new line, but on my Mac, using CTRL + Space doesn't do anything. I've noticed that double pressing the tab key works, but it creates a new line instead. Additionally, when I check my keybindings with `Get-PSReadLineKeyHandler`, it shows Windows-specific bindings. How can I set it to display macOS keybindings? Also, is there a way to copy using right-click without opening the context menu? Thanks for your help!
1 Answer
For macOS users, remember that Command ⌘ often takes the place of CTRL. So, give ⌘ + Space a try; although, be cautious because by default that opens Spotlight, which is an OS-level shortcut!
True, using ⌘ + Space is usually bound to launch Spotlight, which isn't helpful in this case.