fzf.vim icon indicating copy to clipboard operation
fzf.vim copied to clipboard

Cannot scroll with preview

Open Igor-Gold opened this issue 5 years ago • 3 comments

  • [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

I see #1078 was merged, so I'm confused why this won't work. I have [email protected] as well as the latest code for this plugin.

I tried fzf preview scrolling in a regular terminal, and it worked fine.

If it helps, scrolling within the preview of fzf.vim is possible when using the keyboard shortcuts Shift + Up/Down.

Igor-Gold avatar Sep 04 '20 00:09 Igor-Gold

@IgorGee Tks for the Shift + up/down tip! I guess I'll go with it instead of hacking the command to add the --bind to fzf.

It would be great if fzf.vim was able to handle this and provide a proper configuration allowing users to define their own mappings for preview pageup/pagedown.

leoluz avatar Nov 17 '20 17:11 leoluz

Just checked myself in a few scenarios (under MacOS) I can also report some oddities:

Using default Terminal.app: does not work, shift+up/down simply goes up and down the list of files. Using iterm2 (with no custom settings as far as I'm aware): works! I'm able to scroll the preview with it. Using Alacritty (with no custom settings for shift+up/down): does not work, pressing shift+up outputs ;2A on the terminal, while pressing shift+down outputs ;2B.

I understand Alacritty not working (it probably depends on some custom keybindings), but I'm confused as to whether Terminal.app doesn't work by default.

Drowze avatar Dec 03 '21 12:12 Drowze