Skip to content

Latest commit

 

History

History
122 lines (101 loc) · 2.64 KB

README.md

File metadata and controls

122 lines (101 loc) · 2.64 KB

Jump for Windows

Easily jump around the file system by manually adding marks.

It's like the Oh My Zsh jump plugin, but for Windows.

Installation

Download Jump and extract it to a directory listed in your %PATH%.

Alternatively, you can integrate it with your Cmder installation.

Usage

Mark the current path for recurrent use

mark foo

Example :

C:\Program Files>mark prog
C:\Program Files>_

Jump to a marked path

jump foo

Example :

C:\Program Files>cd ..
C:\>jump prog
C:\Program Files>_

List all created marks

marks

Example :

C:\Program Files>marks
prog -> C:\Program Files

C:\Program Files>_

Remove a mark

unmark foo

Example :

C:\Program Files>unmark prog
C:\Program Files>_

Keep a path for later user

keep

Example :

C:\Users\Username>keep

Jump back to the keeped path

back

Example :

C:\Users\Username>cd \
C:\>back
C:\Users\Username>_

Notes

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.

Cmder Integration

Cmder Integration

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 $*

PowerShell Edition

If you live in the future, you can also check out the PowerShell Edition by Florian Beisel.