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
Built-in autojump-like functionality #27
Comments
Yes. I have always wanted such a feature, and I also know various others, e.g. fasd (inspired by your autojump). But I never find the CLI (as opposed to TUI) handy enough, and have never used one. Some thoughts:
|
Absolutely agree on all points :-) |
OOoh yeah "awesomebar" for CLI would rock my world |
@joelthelion I just pushed 7a50c04 which introduces two builtin functions that expose the directory history. I know the names are clumsy :) The user is supposed to define a handy alias themselves in the There is no TUI yet, since I am focusing on the language at the moment. I'll do it when I switch my focus to the editor. Suggestions and contributions are always welcome! |
Some time in future I would like to move this feature out of the core into a (pure elvish) module. But that will only be possible when the editor becomes programmable enough, which is not the case currently. |
The UI of the command-t plugin for vim is an excellent model for that of directory jumping. The directory jumping UI should work as follows:
An open question: how should the key bindings in this mode relate to those in the insert mode, vi-normal mode and completion mode? Specifically, when the user enters this mode from vi-normal mode, should line editing in the minibuffer use vi-normal key bindings? |
I am also considering using |
@joelthelion The UI for directory jumping has landed. I find it pretty cool :) |
Hi,
Thanks for your new shell. It looks very promising. I would like to know if you have considered bundling somthing similar to autojump with your elvish?
In case you're not familiar with it, autojump (https://github.com/joelthelion/autojump) is a tool that learns the directories where you spend the most time and allows you to jump quickly to these directories. A lot of people have found it useful. Autojump is not built into the shells it extends, and as a result it is a bit fragile and difficult to maintain. Having it built into elvish could be a great addition to the already very nice features of the new shell.
Feel free to close this issue if you think this is a bad idea, or simply not a priority.
The text was updated successfully, but these errors were encountered: