Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make file preview scrollable #2206

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Make file preview scrollable #2206

wants to merge 2 commits into from

Conversation

TD-Sky
Copy link

@TD-Sky TD-Sky commented Apr 27, 2024

This Pull Request fixes/closes #2205.

It changes the following:

  • New config item seek_up,seek_down in key_bindings.ron.
  • Enable scrolling file preview without entering file.

I followed the checklist:

  • I added unittests
  • I ran make check without errors
  • I tested the overall application
  • I added an appropriate item to the changelog

@TD-Sky
Copy link
Author

TD-Sky commented Apr 29, 2024

I have made the file previews scrollable in Files [3]. My purpose is gitui can scroll file without entering in all tabs.

@TD-Sky
Copy link
Author

TD-Sky commented Jun 10, 2024

The recommended config for vim key bindings:

    seek_up: Some(( code: Char('k'), modifiers: "ALT")),
    seek_down: Some(( code: Char('j'), modifiers: "ALT")),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make file preview scrollable
1 participant