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

Add "pre-key" for inserting without auto-indentation #2456

Closed
ghost opened this issue May 10, 2022 · 2 comments
Closed

Add "pre-key" for inserting without auto-indentation #2456

ghost opened this issue May 10, 2022 · 2 comments
Labels
C-enhancement Category: Improvements

Comments

@ghost
Copy link

ghost commented May 10, 2022

In kakoune if i want to insert some copied code that is already formatted and i didn't want to trigger the auto-indentation i would type "\" before entering insert mode. I can't find anything similar in Helix.

I use it all the time with html files and the auto-indentation compounds without this possibility.

@ghost ghost added the C-enhancement Category: Improvements label May 10, 2022
@the-mikedavis
Copy link
Member

the-mikedavis commented May 10, 2022

Are you pasting in the copied code? You should use spacep when pasting from the system clipboard. See #2239

@ghost
Copy link
Author

ghost commented May 10, 2022

Are you pasting in the copied code? You should use spacep when pasting from the system clipboard. See #2239

Thanks. That works! Sorry for not noticing.
I tried with Ctrl+Shift+V which results in the behaviour i mentioned and I can avoid with the pre-key in kakoune.

@ghost ghost closed this as completed May 10, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

1 participant