Giter Site home page Giter Site logo

z.vim's Introduction

z.vim

Vim + z = lightning fast navigation

demo: navigating the file system with z.vim

Purpose

If you're reading this, you probably use z to jump around your file system. It's a magical experience, and probably one of my favorite CLI tools. If you don't use it, I highly recommend checking it out, even without this plugin.

It's a critical part of my CLI workflow, and I wanted that same magic for vim.

Say you've got a project named drone-security-guard/. Normally to reach this project you'd write

$ z drone

and it figures out what you mean and jumps into the directory. This plugin works much the same:

:Z drone

The command above will open the drone-security-guard/ directory using whatever directory browser you've got configured.

Note: I use netrw for navigation because it's awesome. This should work for NERDTree too, but I never test against it.

Documentation

In traditional vim fashion, the documentation is kept in a help page. After installing the plugin run

:help z.vim

Installation

vim-plug

Plug 'PsychoLlama/z.vim'

Vundle

Plugin 'PsychoLlama/z.vim'

Pathogen

git clone https://github.com/PsychoLlama/z.vim ~/.vim/bundle/z.vim

Configuration

If you use the oh-my-zsh framework, z.vim will work out of the box. You're good to go ๐Ÿš€

If not, you'll need to explicitly provide a path to your z installation. Add this to your vimrc:

let g:zcd#path = expand('~/path/to/z/z.sh')

Where ~/path/to/z/z.sh is replaced with the actual file path.

Support

If you run into trouble, feel free to open an issue.

z.vim's People

Contributors

microthought avatar psychollama avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.