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 using Vundle is recommended
Plugin 'padde/jump.vim'
This plugin depends on Autojump. For installation instructions please refer to
https://github.com/joelthelion/autojump
jump.vim defines the following commands:
Equivalent to Autojump's j
command – switch working directory. For example
:J dot
should take you to your ~/.dotfiles
directory.
Equivalent to Autojump's jc
command – switch working directory, limiting the
search to subdirectories of the current working directory.
Equivalent to Autojump's jo
command – open directory in system file explorer.
Equivalent to Autojump's jco
command – open directory in system file explorer,
limiting the search to subdirectories of the current working directory.
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.
Copyright (c) Patrick Oscity. Distributed under the same terms as Vim itself.
See :help license