An open API service indexing awesome lists of open source software.

https://github.com/npezza93/fozzie.vim

VIM plugin for fozzie
https://github.com/npezza93/fozzie.vim

Last synced: 3 months ago
JSON representation

VIM plugin for fozzie

Awesome Lists containing this project

README

        

# fozzie.vim

## Installation

Install using your preferred vim plugin manager.

## Usage

#### NeoVim

```
" arguments -> (choice command, vim command, height of window, any extra args to pass to fozzie)
nnoremap e :call FozzieCommand("find . -type f", ":e", 15, "--lines=15")
nnoremap v :call FozzieCommand("find . -type f", ":vs", 15, "--lines=15")
nnoremap s :call FozzieCommand("find . -type f", ":sp", 15, "--lines=15")
nnoremap t :call FozzieCommand("find . -type f", ":tabe", 15, "--lines=15")

" You could also fuzzy search by ctags in the current file
nnoremap r :call FozzieCommand('ctags -f - --sort=no --excmd=number ' . expand('%:p'), ":", 15, "split --delimiter=\"\t\" -f0 -o2")
```

#### Vim

```
" arguments -> (choice command, vim command, any extra args to pass to fozzie)
nnoremap e :call FozzieCommand("find . -type f", ":e", "--lines=15")
nnoremap v :call FozzieCommand("find . -type f", ":vs", "--lines=15")
nnoremap s :call FozzieCommand("find . -type f", ":sp", "--lines=15")
nnoremap t :call FozzieCommand("find . -type f", ":tabe", "--lines=15")

" You could also fuzzy search by ctags in the current file
nnoremap r :call FozzieCommand('ctags -f - --sort=no --excmd=number ' . expand('%:p'), ":", "split --delimiter=\"\t\" -f0 -o2")
```