junegunn / junegunn/fzf.vim

g:fzf_vim.history_options ignored

Open
#1,600 0 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

### Checklist

- [x] I have fzf 0.54.0 or later
- [x] I have searched through the existing issues

### Output of `:echo system(fzf#exec() .. ' --version')`

0.66.0 (8cdfb23d)

### OS

- [x] Linux
- [ ] macOS
- [ ] Windows
- [ ] Etc.

### Problem / Steps to reproduce

I have this in my `.vimrc` (found here for the buffers command: https://github.com/junegunn/fzf.vim/issues/1583):

```vim
let g:fzf_vim = {}
let g:fzf_vim.buffers_options = ['--keep-right']
let g:fzf_vim.history_options = ['--keep-right']
```

This works for the `:Buffers` command but not for the `:History` command. Is `history_options` wrong?

The documentation looks like it should work for any command:

https://github.com/junegunn/fzf.vim/blob/879db51d0965515cdaef9b7f6bdeb91c65d2829e/doc/fzf-vim.txt#L261-L262

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.