Giter VIP home page Giter VIP logo

zoxide_separator_bugfix's Introduction

Zoxide.el

Find file and open directory in special directory with zoxide.

Functions

zoxide-find-file
find file under a path saved in zoxide. The path is set to default-directory and then the callback is run.
zoxide-find-file-with-query
find file under a path matching query
zoxide-travel
travel to a path saved in zoxide. The path is the first argument passing to callback.
zoxide-travel-with-query
travel to a path matching query
zoxide-cd
change working directory to a path
zoxide-cd-with-query
change working directory to a path matching query
zoxide-add
add path into database
zoxide-remove
remove path from database
zoxide-query
list all paths. This is equal to (zoxide-query-with "-l").
zoxide-query-with
list paths matching query. If you call it interactively, a buffer will be prompted. Otherwise, it returns a list of paths.
zoxide-open-with
a help function to query and open dir. It does an action after zoxide-query by selecting with completing-read-function.

Usage

Just call functions.

Hooks

You can add zoxide-add into serval hooks to add paths automatically, such as find-file-hook, projectile-after-switch-project-hook, etc.

Customize

zoxide-find-file-function

This can change the default callback function for zoxide-find-file.

zoxide-get-path-function

This can change the default action to get path for zoxide-remove and zoxide-add when path is nil.

Evil

You can bind zoxide-find-file to gz or gZ for quick jump.

Dired/Dirvish/Ranger/…

You can use zoxide-open-with with find-file directly or something like that:

(defun dired-jump-with-zoxide (&optional other-window)
   (interactive "P")
   (zoxide-open-with nil (lambda (file) (dired-jump other-window file)) t))

zoxide_separator_bugfix's People

Contributors

ajs-dtu avatar vonfry 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.