Skip to content

git: Add basic vim motions to git file history view#45412

Merged
cole-miller merged 1 commit intozed-industries:mainfrom
AlvaroParker:vim-motions-file-history
Jan 6, 2026
Merged

git: Add basic vim motions to git file history view#45412
cole-miller merged 1 commit intozed-industries:mainfrom
AlvaroParker:vim-motions-file-history

Conversation

@AlvaroParker
Copy link
Copy Markdown
Contributor

Closes #ISSUE

Related discussion #44629

Release Notes:

  • Added simple g g, G, j and k motions for the file history view on vim mode.
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Dec 20, 2025
@github-actions github-actions Bot added the community champion Issues filed by our amazing community champions! 🫶 label Dec 20, 2025
@0x2CA
Copy link
Copy Markdown
Contributor

0x2CA commented Dec 23, 2025

I think it's better to allow j and k to count.

  {
    "context": "FileHistoryView",
    "bindings": {
      "j": "vim::MenuSelectNext",
      "k": "vim::MenuSelectPrevious",
      "g g": "menu::SelectFirst",
      "shift-g": "menu::SelectLast",
      "0": ["vim::Number", 0],
      "1": ["vim::Number", 1],
      "2": ["vim::Number", 2],
      "3": ["vim::Number", 3],
      "4": ["vim::Number", 4],
      "5": ["vim::Number", 5],
      "6": ["vim::Number", 6],
      "7": ["vim::Number", 7],
      "8": ["vim::Number", 8],
      "9": ["vim::Number", 9],
    },
  },
@cole-miller
Copy link
Copy Markdown
Member

Thanks!

@cole-miller cole-miller enabled auto-merge (squash) January 6, 2026 01:39
@cole-miller cole-miller merged commit ec41d39 into zed-industries:main Jan 6, 2026
24 checks passed
@github-project-automation github-project-automation Bot moved this from Community PRs to Done in Quality Week – December 2025 Jan 6, 2026
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Jan 20, 2026
…5412)

Closes #ISSUE

Related discussion zed-industries#44629 

Release Notes:

- Added simple `g g`, `G`, `j` and `k` motions for the file history view
on vim mode.
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Jan 20, 2026
…5412)

Closes #ISSUE

Related discussion zed-industries#44629 

Release Notes:

- Added simple `g g`, `G`, `j` and `k` motions for the file history view
on vim mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement community champion Issues filed by our amazing community champions! 🫶

3 participants