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

Z

by externl ALL

Z directory jumping for Sublime Text

Details

Installs

  • Total 98
  • Win 47
  • Mac 40
  • Linux 11
May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15
Windows 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
Mac 0 0 0 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
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.