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

Add Vim Motions Support to TurboRepo UI Input Handling #9243

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlvaroParker
Copy link

Summary:

This PR introduces support for basic Vim-style key bindings within the tui component of TurboRepo, specifically for pane navigation. The goal is to improve navigation efficiency for users familiar with Vim-like key motions.

Key Changes:

  • Added support for h, j, k, and l Vim keybinds for interactive mode:
    • Ctrl+h: Exit interactive mode.
    • Ctrl+j: Move down.
    • Ctrl+k: Move up.
    • Ctrl+l: Enter interactive mode.
  • General Vim-style motions:
    • j: Move down.
    • k: Move up.
    • l: Enter interactive mode.

Motivation:
Adding these motions provides a more intuitive interface for users familiar with Vim commands, enhancing navigation within the pane section of the TurboRepo UI.

Related discussion

@AlvaroParker AlvaroParker requested a review from a team as a code owner October 10, 2024 16:34
@turbo-orchestrator turbo-orchestrator bot added needs: triage New issues get this label. Remove it after triage owned-by: turborepo labels Oct 10, 2024
Copy link

vercel bot commented Oct 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview Oct 10, 2024 4:35pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview Oct 10, 2024 4:35pm
examples-native-web ⬜️ Ignored (Inspect) Visit Preview Oct 10, 2024 4:35pm
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview Oct 10, 2024 4:35pm
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview Oct 10, 2024 4:35pm
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview Oct 10, 2024 4:35pm

Copy link

vercel bot commented Oct 10, 2024

@AlvaroParker is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: triage New issues get this label. Remove it after triage owned-by: turborepo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant