Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 873 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 873 Bytes

Jumper.vim

Vim plugin for Jumper.

Installation

Install homerours/jumper.vim using your favorite plugin manager (this requires junegunn/fzf plugin). Using for instance vim-plug:

Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'homerours/jumper.vim'

Usage

Use :Zf <query> to open the file matching a given <query> or :Z <query> to change the current working directory.

The default bindings for fuzzy-finding are

  • Ctrl-Y : find folders.
  • Ctrl-U : find files.
  • <leader>fu : live grep files (bat and ripgrep required).

They can be updated, using the functions JumperFiles, JumperFolders and JumperFindInFiles, e.g.

nnoremap <C-u> :JumperFiles<CR>
nnoremap <C-y> :JumperFolders<CR>
nnoremap <leader>fu :JumperFindInFiles<CR>