-
Notifications
You must be signed in to change notification settings - Fork 7
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
Should have file
indexing and jumping
#4
Comments
To add a bit more information here: fasd has this feature where it adds files to its frecency database and lets you do things like It's implemented in a few different ways:
To expand further on 1, the relevant code is here. Effectively what it does is process each command you type for possible paths. For example, if you type
I'll also quickly note that things like Now, frankly, I find the above to be quite hacky. However, the feature is of such great use, I'm willing to accept some level of hackery to get it, though I will insist such hackery should happen in rust, not sed/shell/whatever. That being said, I would much rather instead find a less hacky solution. If anyone has an idea, I'd be happy to hear it. My current less-hacky ideas are:
I think there may be value in looking into the possible other sources for 2, and also into examining how bad of an idea 3 really is. |
As a user, the backends (such as viminfo) are the least useful portion of this to me, so I wouldn't be bothered by not having that. |
Capturing another requirement from another issue: It should be easy to make aliases that allow doing things like opening a file in an editor or cd-ing to a directory. I think all pazi needs for that is to have something like I was assuming, though didn't state it explicitly, that files and directories would be stored in separate frecency databases (meaning limits on total counts and filtering would be separate between em). |
No description provided.
The text was updated successfully, but these errors were encountered: