MyGit

v0.11.0

gsamokovarov/jump

版本发布时间: 2017-03-16 18:28:48

gsamokovarov/jump最新发布版本:v0.51.0(2022-08-08 02:24:47)

👋

Have you ever j bweb only to end up in the wrong project? Bummer, right? Well, when our matching fails, you can now (manually) fix it! You can use a 📌, when you need to.

jump pin bweb will force j bweb to always go to the current directory. jump pin bweb /directory/path will force j bweb to always go to /directory/path

This release also fixes a regression in the deep jump search. What is deep jump search and why it isn't that well advertized you may ask? Very good question!

Deep Jump

Jump normalizes all search terms to the base names of the scored directories, because absolute paths are long and short terms can fuzzy match them easily.

Given the following filesystem structure:

/Users/foo/Development/society/
|-- artwork
|-- interview
+-- website

/Users/foo/Development/chaos/
+-- website

...to ensure a match of /Users/foo/Development/chaos/website, you can do:

$ j ch/web
$ pwd
/Users/foo/Development/chaos/website

Nice, eh? No more guessing. The search is normalized only on the last two parts of the target path. This will ensure a better match, because of the shorter path to fuzzy match on. You can even add many separators, if this will help your search:

$ j dev/ch/web
$ pwd
/Users/foo/Development/chaos/website

The term above will match the last three directories of the path, yielding /Users/foo/Development/chaos/website.


You are welcome, 🌍. Much ❤️ from Southeastern Europe!

相关地址:原始地址 下载(tar) 下载(zip)

1、 jump-0.11.0-1.x86_64.rpm 1001.67KB

2、 jump_0.11.0_amd64.deb 1002.52KB

查看:2017-03-16发行的版本