junegunn / junegunn/fzf.vim

How to stop the main window from scrolling?

Open
#702 3 comments 5 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
- [ ] Linux
- [ ] macOS
- [ ] Windows
- [ ] Etc.
- Vim
- [ ] Vim
- [ ] Neovim

When I run a command like `:History`, the text in my other windows scrolls up. For example, if the top of my screen shows line 5 of some file, after the command the top of the screen will show line 30. This happens even in vanilla vim when running e.g. `:ls`, so it's not really an issue with fzf, but I was hoping you could help me out. It makes using fzf very annoying on a larger screen, because the text on the whole screen gets moved around and redrawn. Is there any way to stop this from happening? I want fzf to draw on "top" of the text of my window, not move it out of the way.

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.