mrjones2014 / ctrlg

A command line context switcher, written in Rust :crab:
https://crates.io/crates/ctrlg
MIT License
30 stars 1 forks source link

[Feature]: Add key bind for scrolling preview #49

Closed mrjones2014 closed 2 years ago

mrjones2014 commented 2 years ago

Similar Issues

Description

The action names for the Skim finder are just "up" and "down". We should bind keys to those actions so that preview can be scrolled. Not sure about what the key binds should be.

Use Case

So that previews can be scrolled.

mrjones2014 commented 2 years ago

Actually "up" and "down" don't scroll preview, they scroll items in the list

mrjones2014 commented 2 years ago

Looks like the right actions are "preview-up" and "preview-down"

mrjones2014 commented 2 years ago

These are actually default key binds in the skim fuzzy finder so all we need to do is add them to the key binds table in README.md. But maybe we should also bind ctrl + d and ctrl + f since that's a popular vim keybind for scrolling docs windows.