Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nanotee/zoxide.vim
A small (Neo)Vim wrapper for zoxide
https://github.com/nanotee/zoxide.vim
autojump neovim vim z zoxide
Last synced: 11 days ago
JSON representation
A small (Neo)Vim wrapper for zoxide
- Host: GitHub
- URL: https://github.com/nanotee/zoxide.vim
- Owner: nanotee
- License: mit
- Created: 2020-08-11T15:32:44.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-23T12:20:59.000Z (about 1 year ago)
- Last Synced: 2024-08-01T16:56:10.488Z (3 months ago)
- Topics: autojump, neovim, vim, z, zoxide
- Language: Vim Script
- Homepage:
- Size: 51.8 KB
- Stars: 206
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zoxide.vim
A small (Neo)Vim wrapper for [zoxide](https://github.com/ajeetdsouza/zoxide)
## Requirements
- A recent version of Vim or Neovim
- The [zoxide](https://github.com/ajeetdsouza/zoxide) utility
- (optional) The [fzf](https://github.com/junegunn/fzf) utility along with the [fzf.vim](https://github.com/junegunn/fzf/blob/master/plugin/fzf.vim) script## Installation
Install using your favorite plugin manager:
- [vim-plug](https://github.com/junegunn/vim-plug)
```vim
Plug 'nanotee/zoxide.vim'
```
- [packer.nvim](https://github.com/wbthomason/packer.nvim)
```lua
use 'nanotee/zoxide.vim'
```
- [dein.vim](https://github.com/Shougo/dein.vim)
```vim
call dein#add('nanotee/zoxide.vim')
```
- [vim-packager](https://github.com/kristijanhusak/vim-packager)
```vim
call packager#add('nanotee/zoxide.vim')
```## Usage
The plugin defines commands that wrap the functionality of zoxide:
- `:Z {query}`: cd to the highest ranked directory matching your query. If `{query}` is omitted, cd to the home directory
- `:Lz {query}`: same as `:Z`, but local to the current window
- `:Tz {query}`: same as `:Z`, but local to the current tab
- `:Zi {query}`: cd to one of your highest ranking directories using fzf
- `:Lzi {query}`: same as `:Zi`, but local to the current window
- `:Tzi {query}`: same as `:Zi`, but local to the current tab## Configuration
See [zoxide-vim-configuration](doc/zoxide-vim.txt#L27)
## Events
See [zoxide-vim-events](doc/zoxide-vim.txt#L92)