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 Project Panel navigation actions in netrw mode #20941

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

Anthony-Eid
Copy link
Contributor

@Anthony-Eid Anthony-Eid commented Nov 20, 2024

Release Notes:

  • Added "[ c" & "] c" To select prev/next git modified file within the project panel
  • Added "[ d" & "] d" To select prev/next file with diagnostics from an LSP within the project panel
  • Added "{" & "}" To select prev/next directory within the project panel

Note:

I wanted to extend project panel's functionality when netrw is active so I added some shortcuts that I believe will be helpful for most users. I tried to keep the default key mappings for the shortcuts inline with Zed's vim mode.

Selecting prev/next modified git file

Screen.Recording.2024-11-20.at.6.10.09.PM.mov

Selecting prev/next diagnostics

Screen.Recording.2024-11-20.at.6.08.35.PM.mov

Selecting prev/next directories (Only works with visible directoires)

Screen.Recording.2024-11-20.at.5.57.08.PM.mov

@notpeter notpeter added the cla-signed The user has signed the Contributor License Agreement label Nov 22, 2024
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants