cmdk The ⌘-k "access anything" shortcut is awesome on Notion, Slack, etc. The terminal, by comparison, is a dinosaur: tons of repeated cd and ls and TAB just to get anywhere. This is ⌘-k for the terminal: access anything on your filesystem, from anywhere, with previews before you open: When you press enter... Directories get cd d to d to Text files get opened in vim Images and PDFs get opened in the Preview app .key files get opened in Keynote I'm extremely grateful to fzf; this project wouldn't be possible without it. I'd been fed up with terminal navigation for a decade, and fzf was the missing piece needed to make cmdk possible. Installation Install cmdk and dependencies: # NOTE: bat, tiv, and poppler are optional: for previewing text, image, and PDF files respectively brew install fzf fd bat tiv poppler git clone [email protected]:mieubrisse/cmdk.git ~ /.cmdk Add to your .zshrc or .bashrc : source ~ /.cmdk/cmdk.sh # This will make a 'cmdk' function available in your shell (Optional) Bind the ⌘-k hotkey to send the text cmdk in your terminal 💡 In iTerm, this is done with Settings → Profiles → Keys → Keybindings → + → Send Text , then binding ⌘-k to send the text cmdk . 💡 If you prefer another hotkey (e.g. ⌘-p ), simply bind that to send the cmdk string instead. Open a new shell and press ⌘-K (if you bound it) or enter cmdk (if you don't bind ⌘-K) Usage Press ⌘-k (or type cmdk ) and... Type to start filtering 💡 If you're trying to get a directory, add a / to the end of your search term. E.g. down/ will pull up the Downloads directory Ctrl-j and Ctrl-k to scroll up and down the results list and to scroll up and down the results list ENTER to select the result to select the result TAB to select multiple items before ENTER to select multiple items before Ctrl-u to clear the selection ⚠️ Some directories like Library , / , and .git are full of stuff users don't need to access, so their contents are excluded. To get to their contents, first ⌘-k to them and then ⌘-k again to see their contents. 💡 Sometimes you only want to jump to the contents of the current directory. This can be done by calling cmdk -o . I've set up a separate iTerm hotkey for this: ⌘-l to send cmdk -o .