Cmdk – CD anywhere and open anything in your terminal
10 months ago
- #productivity
- #navigation
- #terminal
- The `cmdk` tool enhances terminal navigation by allowing quick access to files and directories with previews.
- Features include: `cd` to directories, opening text files in `vim`, and images/PDFs in Preview app.
- Dependencies: `fzf`, `fd`, `bat`, `tiv`, and `poppler` (optional for previews).
- Installation involves cloning the repository and sourcing a script in `.zshrc` or `.bashrc`.
- Optional hotkey binding (e.g., `���-k`) can be set to trigger `cmdk`.
- Usage tips: filter with typing, use `Ctrl-j/k` to navigate, `ENTER` to select, and `TAB` for multi-select.
- Excluded directories like `Library` or `.git` require navigating into them first.
- `cmdk -o` restricts searches to the current directory, with a suggested hotkey `���-l`.