ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Z

by externl ST2/ST3

Z directory jumping for Sublime Text

Details

  • 1.0.1
  • github.​com
  • github.​com
  • 10 months ago
  • 12 minutes ago
  • 10 months ago

Installs

  • Total 49
  • Win 19
  • OS X 23
  • Linux 7
Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2
Windows 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Z Directory Jumping for Sublime Text

The Z plugin adds z directory jumping to Sublime Text; quickly open directories that you frequent on the command line.

A valid z installation is required.

Installation

Package Control

Press cmd/ctrl + shift + p to open the command palette. Type Package Control: Install Package and press enter. Then search for Z.

Manually

Clone this repo as Z into Sublime Text's Packages directory. (Preferences > Browse packages…)

git clone https://github.com/externl/sublime-z Z

What is z?

From the z GitHub page:

z tracks the directories you visit. With a combination of frequency and recency, it enables you to jump to the directory in mind.

Settings

// Shell executable: "/bin/bash", "/usr/bin/zsh", "/usr/local/bin/fish"...
  // If empty then environment variable $SHELL is used.
  "shell": "",

  // Choices are:
  // 'best_match'  best match is used (z --echo <dirRegex>, no search)
  // 'list'        list matches to choose from (z --list <dirRegex>, then search)
  // 'list_all'    search list of directories based on 'frecency'. (z --list, then search)
  "mode": "list"

Usage

Open the command palate and search Z: Jump to directory and press enter. Depending on the mode setting you can either enter a directory RegEx or search a list of frequently and recently visited directories from command line z installation.

Keybindings

cmd/ctrl + shift + o: jump to directory using selected mode setting.