junegunn / junegunn/fzf.vim

How to use fzf#run search current file or all current buffer gtags?

Open
#873 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- Category
- [x ] Question
- [ ] Bug
- [ ] Suggestion
- OS
- [x] Linux
- [ ] macOS
- [ ] Windows
- [ ] Etc.
- Vim
- [ ] Vim
- [ ] Neovim

I use vim8.1 and the newest fzf and fzf.vim and I use gnu global tag system to explore huge code base. Under shell I can run global -f xxxx.c | fzf then can fuzzy search .
Now I want to use it under vim to search current file or all buffer files tag also with preview at same time , how to use fzf#run or fzf#wrap achieve my goal ?
call fzf#run({
\ 'source': 'global -f %',
\ 'down':'40%' ,
\ \ 'options': fzf#vim#with_preview('down:60%'),})

can any one give some suggestion?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.