Easily jump around the file system by manually adding marks.
It's like the Oh My Zsh jump plugin, but for Windows.
Download Jump and extract it to a directory listed in your %PATH%
.
Alternatively, you can integrate it with your Cmder installation.
mark foo
Example :
C:\Program Files>mark prog
C:\Program Files>_
jump foo
Example :
C:\Program Files>cd ..
C:\>jump prog
C:\Program Files>_
marks
Example :
C:\Program Files>marks
prog -> C:\Program Files
C:\Program Files>_
unmark foo
Example :
C:\Program Files>unmark prog
C:\Program Files>_
keep
Example :
C:\Users\Username>keep
back
Example :
C:\Users\Username>cd \
C:\>back
C:\Users\Username>_
If you mark
a path without giving a name, the mark name will be the folder name :
C:\bar>mark
C:\bar>cd ..
C:\>jump bar
C:\bar>_
When a path is no more available, marks
will tell you :
C:\bar>mark foo
C:\bar>cd ..
C:\>rmdir C:\bar
C:\>marks
bar -> ?
C:\>_
mark
will ask for a confirmation if you're trying to override any existing mark name :
C:\>marks
home -> C:\Users\Username
C:\>mark home
Mark C:\ as home? (y/n) _
Marks are stored in the directory %MARKPATH%
, which defaults to %HOME%\.marks
. If %HOME%
is not set, it defaults to %USERPROFILE%\.marks
.
Download Jump, extract all the .bat
files to your Cmder\bin
directory, and (optionally) add some useful Cmder aliases :
alias j=jump $*
alias m=mark $*
alias k=keep
alias b=back
And if you prefer the word "tag" instead of "mark" :
alias tag=mark $*
alias tags=marks
alias untag=unmark $*
If you live in the future, you can also check out the PowerShell Edition by Florian Beisel.