Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomoya/consult-ghq
Ghq interface using consult
https://github.com/tomoya/consult-ghq
Last synced: about 2 months ago
JSON representation
Ghq interface using consult
- Host: GitHub
- URL: https://github.com/tomoya/consult-ghq
- Owner: tomoya
- License: gpl-3.0
- Created: 2021-05-31T02:54:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-11T13:04:01.000Z (about 1 year ago)
- Last Synced: 2023-11-12T05:24:53.596Z (about 1 year ago)
- Language: Emacs Lisp
- Size: 8.78 MB
- Stars: 12
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# consult-ghq: Ghq interface using consult
https://user-images.githubusercontent.com/18009/120468941-b8779c00-c3dc-11eb-872d-42ac5689e03a.mp4
## Commands
This package provides these commands.
### consult-ghq-find
Select a repository from the [ghq](https://github.com/x-motemen/ghq) list and then find repository files using [affe-find](https://github.com/minad/affe) (if installed) or consult-find.
If you want to use consult-find despite having affe installed, you can change like below:
```elisp
(setq consult-ghq-find-function #'consult-find)
```### consult-ghq-grep
Select a repository from the ghq list and then grep repository files using affe-grep (similar to consult-ripgrep or consult-grep).
Also, you can change grep function like below:
```elisp
(setq consult-ghq-grep-function #'consult-grep)
```### consult-ghq-switch-project
Select a project from the ghq list and then switch to it via project.el (default) or projectile
You can change switch project function like below:
```elisp
(setq consult-ghq-switch-project-function #'projectile-switch-project)
```