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

Manually declare a directory #90

Closed
tortolo opened this issue Jan 10, 2012 · 3 comments
Closed

Manually declare a directory #90

tortolo opened this issue Jan 10, 2012 · 3 comments

Comments

@tortolo
Copy link

tortolo commented Jan 10, 2012

This is a feature that may be nice for users: a way to tell that this directory is to be considered as frequently used.

Typical use case: I create a directory for a project I shall work on for the next few weeks. Right now, it is not yet often used, but it will be, and having it at a high position in autojump's list would save me time for the beginning.

@joelthelion
Copy link
Collaborator

Bonjour Tanguy,

There are two ways to achieve this currently:

  1. Keep pressing on the "enter" key for a few seconds.
  2. Manually edit the autojump.txt file (usually in ~/.local/share)

Does this meet your needs? If not, I'd be curious about what you would like exactly and how you would implement it. Maybe a simple bit of documentation is the solution?

@tortolo
Copy link
Author

tortolo commented Jan 10, 2012

Joel Schaerer, 2012-01-10 12:27-0800:

There are two ways to achieve this currently:

  1. Keep pressing on the "enter" key for a few seconds.

Yes, that is right. I was overthinking it, so I missed the most obvious
solution! Please close that issue. :-)

Tanguy

@saltcod
Copy link

saltcod commented Sep 18, 2019

For anyone else having issues here:

On MacOS, my autojump.txt file is in ~/Library/autojump/autojump.txt

When autojump brings me to the wrong directory, I'll delete entries in autojump.txt and retrain it.

ie: I try and jump to a directory called matter, but it always brought me to a different news-matters directory. To fix this, I just delete all of the lines in autojump.txt for news-matters.

I've also added an entry in .aliases to make this super quick:
alias jfix="mate ~/Library/autojump/autojump.txt"

Hope this helps someone else!

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

No branches or pull requests

3 participants