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

fix(gitsigns.keymap): update functions and descriptions #1406

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

Jint-lzxy
Copy link
Collaborator

This commit is a follow-up fix for #1405:

  • stage_hunk now toggles between staging and unstaging a hunk (keymap description updated)
  • Changed the callback for text_object to select_hunk:
  > git log --grep text_object
  commit e22e37897ac328d3f7e00e354852b6c9ffdd1e5d
  Author: Lewis Russell <[email protected]>
  Date:   Thu Mar 25 14:47:33 2021 +0000

      Rename text_object() -> select_hunk()

This commit is a follow-up fix for #1405:
- `stage_hunk` now toggles between staging and unstaging a hunk (keymap
  description updated).
- Changed the callback for `text_object` to `select_hunk`:
```
> git log --grep text_object
commit e22e37897ac328d3f7e00e354852b6c9ffdd1e5d
Author: Lewis Russell <[email protected]>
Date:   Thu Mar 25 14:47:33 2021 +0000

    Rename text_object() -> select_hunk()
```

Signed-off-by: Jint-lzxy <[email protected]>
@Jint-lzxy Jint-lzxy force-pushed the fix/gitsigns-keymap branch from 6c3fb0c to daebb30 Compare January 25, 2025 07:48
@ayamir ayamir merged commit dc252ef into main Jan 26, 2025
4 checks passed
@ayamir ayamir deleted the fix/gitsigns-keymap branch January 26, 2025 16:22
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.

2 participants