Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple directories to search, and announce them in the profile #55

Open
m-ichael opened this issue Dec 23, 2017 · 0 comments
Open

multiple directories to search, and announce them in the profile #55

m-ichael opened this issue Dec 23, 2017 · 0 comments

Comments

@m-ichael
Copy link

m-ichael commented Dec 23, 2017

sack -sd ~/some/other/ ~/bar/foo/ and other variants is not possible, although there is a mention or two of directory(s) in the script.
This -i-s- possible admittedly a ~/some/other/ is set and then doing "prompt$ sack foo ~/bar/foo/" will search and spit both the results in the preset in profile AND the command added directory.
The above way one has sack now searching the profile announced directory AND the command line hinted directory.

Question: how to set reliably multiple directories in a profile, since I am using ag and not ack, is ag the culprit?

The additional reason is that the results cannot be called up from another terminal for the directory added to the command, sack script switches to the profile declared directory only to act upon "F #"
Logically there is no way of knowing for the script what the command line given directory is.

Regards, the added possibility to jump from a different terminal to a search result and open the editor, is an appreciated time and focus gain. This way, is also cleaner then within vim doing the search, one is not always within the editor, and the quickview of vim has not the real estate of the terminal window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant