Giter Site home page Giter Site logo

jump.vim's Introduction

jump.vim

Brings the power of Autojump to Vim.

The :J command defined by jump.vim is meant as a replacement for Vim's built in :cd command. If you are looking for a way to replace Vim's :e command, you might be looking for autojump.vim

Installation

Installation using Vundle is recommended

Plugin 'padde/jump.vim'

This plugin depends on Autojump. For installation instructions please refer to

https://github.com/joelthelion/autojump

Usage

jump.vim defines the following commands:

:J

Equivalent to Autojump's j command – switch working directory. For example :J dot should take you to your ~/.dotfiles directory.

:Jc

Equivalent to Autojump's jc command – switch working directory, limiting the search to subdirectories of the current working directory.

:Jo

Equivalent to Autojump's jo command – open directory in system file explorer.

:Jco

Equivalent to Autojump's jco command – open directory in system file explorer, limiting the search to subdirectories of the current working directory.

:Cd

Replacement for Vim's built-in :cd command. Behaves exactly the same, except that this version keeps track of the directories you visit. Useful if a directory is not recognized by Autojump and you want to add it to the list of available shortcuts. Next time you use one of the above commands, Autojump will know about the new directory.

Configuration

jump.vim tries to auto-detect the location of your Autojump installation. In case the detection fails, you will see the following error message when trying to use one of jump.vim's commands:

autojump not found - please install it or set g:autojump_executable

If you installed Autojump in a non-standard location, you can set the path to the autojump script manually:

let g:autojump_executable = "path/to/autojump.sh"

By default autojump will change the working directory globally in Vim. Alternativelly, you can achieve "per-tab/window change dir" behavior with autojump, by setting:

let g:autojump_vim_command = 'tcd'

or

let g:autojump_vim_command = 'lcd'

Boring Legal Stuff

Copyright (c) Patrick Oscity. Distributed under the same terms as Vim itself. See :help license

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.