blob: 119f8dfefaaeb4403a2668fb7abd39546b36e831 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Fuzzy find and open files in vis
Use [fzf](https://github.com/junegunn/fzf) to open files in [vis](https://github.com/martanne/vis).
## Usage
In vis:
- `:fzf`: search all files in the current sub-tree.
- You can pass arguments to fzf, e.g. : `:fzf -p !.class`
## Configuration
In visrc.lua:
```lua
plugin_vis_open =require('plugins/vis-fzf-open/fzf-open')
-- Path to the fzf executable (default: "fzf")
plugin_vis_open.fzf_path = (
"FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -g \"\"' fzf"
)
-- Arguments passed to fzf (default: "")
plugin_vis_open.fzf_args = "-q '!.class ' --height=40%"
```
|