Preview not starting with given line number instead showing the whole file from line 1
- Dominant language
- Vim Script
- Stars
- 10.3k
- Forks
- 608
- Avg merge
- 5d 8h
- Merged PRs (30d)
- 2
Description
- [X] I have fzf 0.23.0 or above
- [X] I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md
- [X] I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md
- [X] I have read through the manual page of fzf (`man fzf`)
- [X] I have searched through the existing issues
Hello,
In my preview window, I am unable to get the content centered around the line number passed to preview.sh script.
My requirement is this -
`bat --pager="less -r +10" --highlight-line 10 file.txt`
The above cmd content output should match with what is passed in --preview in "options" (i.e. it should start with line 10 since I am passing pager option)
But I don't see the content which is shown in vim preview window starts from line 10. It starts showing the whole file from the beginning from line 1.
I also tried preview.sh file from bin/ folder. That also is just giving the output of whole file from line-1 rather than from line number 10.
Any idea what am I missing pls? I checked as much as I could, but I am really not getting why this isn't working.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.