gh-stack icon indicating copy to clipboard operation
gh-stack copied to clipboard

Support j/k for navigation in gh stack view

Open denniscual0217 opened this issue 3 months ago • 0 comments

Summary

gh stack view stack view binds only the arrow keys for moving the cursor between branches. It would be cool that we can also bind those navigations to vim keys j|k.

I've implemented this on a branch in my fork: https://github.com/denniscual0217/gh-stack/commit/017db0882a58b4ed7f39201d13f48e24e453bb5b

Tested here:

https://github.com/user-attachments/assets/5b92e134-e9d9-4fc2-b27a-543cb82bc151

Environment

  • gh version: 2.97.0
  • gh stack version: 0.1.0
  • macOS (arm64)

denniscual0217 avatar Aug 06 '26 13:08 denniscual0217