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(keymaps): update toggle display and gitsigns keymaps #1405

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

AngelontheRoad
Copy link
Contributor

@AngelontheRoad AngelontheRoad commented Jan 20, 2025

a break feature lewis6991/gitsigns.nvim@8b74e56 upstream.

Keymap select_hunk is a fix according to keymaps in readme. I tested in my PC and It only works on selecting vih, not supports dih and yih, though I think it's enough for use.

toggle display keymaps is moved due to #1397 (comment)

@AngelontheRoad AngelontheRoad changed the title fix(gitsigns): update keymaps fix(keymaps): update toggle display and gitsigns keymaps Jan 21, 2025
@ayamir ayamir merged commit 9b70867 into ayamir:main Jan 23, 2025
Jint-lzxy added a commit that referenced this pull request Jan 25, 2025
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 added a commit that referenced this pull request Jan 25, 2025
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]>
ayamir pushed a commit that referenced this pull request Jan 26, 2025
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]>
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