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
- Host: GitHub
- URL: https://github.com/npezza93/fozzie.vim
- Owner: npezza93
- Created: 2020-05-17T14:18:20.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-01T15:03:15.000Z (over 1 year ago)
- Last Synced: 2025-01-18T02:28:22.574Z (5 months ago)
- Language: Vim Script
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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")
```