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

Disabling code unfolding in 'Normal' mode with Dance extension #309

Closed
xiaose opened this issue Aug 9, 2023 · 1 comment
Closed

Disabling code unfolding in 'Normal' mode with Dance extension #309

xiaose opened this issue Aug 9, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@xiaose
Copy link

xiaose commented Aug 9, 2023

I'm currently using the Dance extension (v0.5.11) in VSCode and have been impressed with this Kakoune-inspired key bindings and functionalities. However I've encountered a specific behavior that I would like to modify.

By default, when I 'fold' a block of code and subsequently enter 'normal' mode within Dance, go down over that 'folded' code, the code section automatically unfolds. While I understand this may be an intentional feature it conflicts with my preferred workflow, so I want to modify it.

Could you please provide guidance on how to disable or modify this 'unfolding' behavior in 'normal' mode?

BTW, I kindly request consideration for its inclusion in a future update, if this functionality (disable 'unfolding') is not currently available...

@71
Copy link
Owner

71 commented Sep 27, 2023

Sorry, but unfortunately for now this isn't possible. See #246, which links to aioutecism/amVim-for-VSCode#184, which proposes a workaround (using built-in VS Code command, which might not exactly behave like Dance keybindings but which respect folded regions).

@71 71 closed this as completed Sep 27, 2023
@71 71 added the duplicate This issue or pull request already exists label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants