4 ms·
Autojump: easily navigate directories from the command line
- anuraggoel 18y agoNeat. Not mentioned in the wiki, but there is some support for bash completion as well (I was going to post a feature request...) http://github.com/joelthelion/autojump/commit/ff5c9780791c75c0c536070a622ebdcb1378a9c3 http://github.com/joelthelion/autojump/commit/ff5c9780791c75...
- ivey 18y agoExcellent. I'm pretty addicted to the completion in cdargs, but the learning features of autojump are pretty cool. I'm giving it a shot.
- delano 18y agoYou could also make use of temporary variables. $ a=`pwd` $ cd /mnt/rockin/it $ b=`pwd` $ cd $a
- jli 18y agoI just installed it, this is a very good time saver. This is much better than temp variables because it defines "temp variable" automatically for you.
- ivey 18y agoThat's too much like work. EDIT: I currently use cdargs, and it had to get built into muscle memory before it was really powerful. Now, I type "cv twTABENTER" and I'm where I want to be, before I've finished thinking about where I want to be.
- Harkins 18y agoIf you're using bash, the builtin cd -, pushd, and popd are all handier ways of accomplishing this.
- ivey 18y agoNope. That's stack based, this is frequency based. It learns what directories you visit more frequently, and jumps to the right one based on very small bits of input. I wish it were interactive, like iswitchb ... or I guess I could just start using shell-mode inside Emacs.
- Harkins 18y agoYes, autojump is frequency based. That is not what I was responding to.