Helix jump list - #46467
Conversation
|
any updates on this? |
|
What's the difference between your PR and this? #44661 |
|
Your reference points to a Tailwind CSS format issue (not a PR). This PR tries to introduce a jump list in Zed in Helix mode. I am sorry I am not able to understand how this is an overlap with your reference. |
|
Sorry @prayanshchh i missed off a "1" from that, i meant this issue: #44661 |
|
np, I think both PR's essentially achieve the same goal..I had a look at that PR before starting my implementation, it seemed a bit unnecessary as zed already supports jump lists, it made more sense to reuse that. also that PR became inactive hence I created this one |
|
The point was to make jump-lists operate 1:1 for helix, not use zeds jump list. Zeds does not operate anything like helix primarily as it still only stores a single cursor position, among many other differences you can see in the comments |
|
cool! I didn't knew about this, thanks for the info!..lots to learn from ur PR. |
|
What's blocking this PR from being merged? Could we merge it please? |
|
lmk if any suggestions on this |
kubkon
left a comment
There was a problem hiding this comment.
Looks good, thanks! I cleaned up actions a tad - there was no need for an explicit unit struct. Anyhow, this PR seems like a great first step for navigation list support in helix mode in Zed.
|
Wanted to try this new feature today and was confused it wasn't included in the latest release even though the commit was created on Turns out, I have no idea how are those commits prioritized but would love to see this one soon. |
Closes zed-industries#41580 This implements Helix's jump list, Zed already supports jumplists, so all that is done is re-binding ctrl-s to to that instead. In another PR we can extend this by adding space+j functionility to see all selections in jumplist. after this change: Pressing Ctrl+S saves the current cursor position to the jumplist, allowing the user to navigate back to this position using Ctrl+O (backward) and Ctrl+I (forward), consistent with regular Helix's behavior. Release Notes: - N/A *or* Added/Fixed/Improved ... --------- Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
|
This doesn't fully match Helix's implementation right? @kubkon I've noticed this doesn't take into account selections, it just jumps back to the end of the word, where as Helix shows the selections when going back/forth on the jump list. I'm just clarifying if this is intentional or not |
Closes zed-industries#41580 This implements Helix's jump list, Zed already supports jumplists, so all that is done is re-binding ctrl-s to to that instead. In another PR we can extend this by adding space+j functionility to see all selections in jumplist. after this change: Pressing Ctrl+S saves the current cursor position to the jumplist, allowing the user to navigate back to this position using Ctrl+O (backward) and Ctrl+I (forward), consistent with regular Helix's behavior. Release Notes: - N/A *or* Added/Fixed/Improved ... --------- Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
Closes zed-industries#41580 This implements Helix's jump list, Zed already supports jumplists, so all that is done is re-binding ctrl-s to to that instead. In another PR we can extend this by adding space+j functionility to see all selections in jumplist. after this change: Pressing Ctrl+S saves the current cursor position to the jumplist, allowing the user to navigate back to this position using Ctrl+O (backward) and Ctrl+I (forward), consistent with regular Helix's behavior. Release Notes: - N/A *or* Added/Fixed/Improved ... --------- Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
Closes #41580
This implements Helix's jump list, Zed already supports jumplists, so all that is done is re-binding ctrl-s to to that instead. In another PR we can extend this by adding space+j functionility to see all selections in jumplist.
after this change:
Pressing Ctrl+S saves the current cursor position to the jumplist, allowing the user to navigate back to this position using Ctrl+O (backward) and Ctrl+I (forward), consistent with regular Helix's behavior.
Release Notes: