junegunn / junegunn/fzf.vim

Preview window empty

Open
#362 7 comments 1 reaction 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
- [x] Bug
- [ ] Suggestion
- OS
- [x] Linux (Mint)
- [ ] macOS
- [ ] Windows
- [ ] Etc.
- Vim
- [x] Vim
- [x] Neovim

Hi, first of all thanks for your vim plugins, I can't think of using (neo)vim without it!

So my issue is that preview window doesn't seem to work for me.
Even with the basic config + the readme "advanced customization" part:
```
set nocompatible hidden laststatus=2

if !filereadable('/tmp/plug.vim')
silent !curl --insecure -fLo /tmp/plug.vim
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
endif

source /tmp/plug.vim
call plug#begin('/tmp/plugged')
Plug 'junegunn/fzf', { 'do': './install --bin' }
Plug 'junegunn/fzf.vim'
call plug#end()

command! -bang -nargs=* GGrep
\ call fzf#vim#grep('git grep --line-number '.shellescape(), 0, 0)

command! -bang Colors
\ call fzf#vim#colors({'left': '15%', 'options': '--reverse --margin 30%,0'}, 0)

command! -bang -nargs=* Ag
\ call fzf#vim#ag(,
\ 0 ? fzf#vim#with_preview('up:60%')
\ : fzf#vim#with_preview('right:50%:hidden', '?'),
\ 0)

command! -bang -nargs=* Rg
\ call fzf#vim#grep(
\ 'rg --column --line-number --no-heading --color=always '.shellescape(), 1,
\ 0 ? fzf#vim#with_preview('up:60%')
\ : fzf#vim#with_preview('right:50%:hidden', '?'),
\ 0)

command! -bang -nargs=? -complete=dir Files
\ call fzf#vim#files(, fzf#vim#with_preview(), 0)

```
Do I need to add some (linux?) package on my machine to enable it? (Already have coderay)

![peek 30-04-2017 00-38](https://cloud.githubusercontent.com/assets/5424690/25559651/7e62892c-2d3f-11e7-9334-4a9d34a2b9b8.gif)

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.