Open IgorGee opened 4 years ago
@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.
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.
I wanna share a couple of scenarios that I found interesting, I'm using iTerm v2.14 (453)
and fzf v0.49.0
.
iTerm.app
, it currently works fine with Shift
+ Up/Down
keyboard shortcuts.Shift
key and using the trackpad to scroll Up/Down
.Shift
key and use the scroll of a external mouse.Terminal.app
, scrolling with the trackpad and external mouse works fine.
man fzf
)I see #1078 was merged, so I'm confused why this won't work. I have
fzf@0.22.0
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 shortcutsShift + Up/Down
.