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

Selecting sibling nodes does not extend selection in visual mode #3675

Closed
lykahb opened this issue Sep 3, 2022 · 1 comment
Closed

Selecting sibling nodes does not extend selection in visual mode #3675

lykahb opened this issue Sep 3, 2022 · 1 comment
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue

Comments

@lykahb
Copy link
Contributor

lykahb commented Sep 3, 2022

Summary

Alt-n and Alt-p behave the same in the select mode, as in the normal mode. They move selection instead of expanding it.

Reproduction Steps

I tried this:

  1. Open a file with a language supported by tree-sitter. Select a syntax node with Alt-O.
  2. Enter select mode with "v".
  3. Move selection to siblings with Alt-n, Alt-p.

I expected this to happen:
The selection expands to include the newly selected nodes.

Instead, this happened:
The selection moves to the newly selected node. The node selected before loses the selection. In other words, Alt-n and Alt-p behave the same in the select mode, as in the normal mode.

https://asciinema.org/a/FNyUuzPGy8n9A19esl2ZFQGtR

Helix log

~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines

Platform

Linux

Terminal Emulator

Gnome Terminal

Helix Version

helix 22.08.1 (e917a8e)

@lykahb lykahb added the C-bug Category: This is a bug label Sep 3, 2022
@the-mikedavis
Copy link
Member

Duplicate of #1999

@the-mikedavis the-mikedavis marked this as a duplicate of #1999 Sep 3, 2022
@the-mikedavis the-mikedavis closed this as not planned Won't fix, can't repro, duplicate, stale Sep 3, 2022
@the-mikedavis the-mikedavis added the R-duplicate Duplicated issue: please refer to the linked issue label Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue
Projects
None yet
Development

No branches or pull requests

2 participants