Add option to not overtype on closing pairs #9595
Labels
A-helix-term
Area: Helix term improvements
C-enhancement
Category: Improvements
E-easy
Call for participation: Experience needed to fix: Easy / not much
E-good-first-issue
Call for participation: Issues suitable for new contributors
I find the behavior of moving the cursor when typing a closing pair ontop op a closing pair rather than adding another one very annoying and almost never what i actually want.
Not being able to add an extra parenthesis in a bunch of closing parentheses without moving all the way through them always catches me off guard.
vscode has a setting called "autoClosingOvertype" which allows you to change this behavior and I propose helix implement something similar.
An example of me pressing "((((()))))" and not getting any closing parens:
![test](https://private-user-images.githubusercontent.com/26968035/303902418-a81a4267-1f39-4b93-9737-83ea177107f1.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NDIyNjIsIm5iZiI6MTcxOTc0MTk2MiwicGF0aCI6Ii8yNjk2ODAzNS8zMDM5MDI0MTgtYTgxYTQyNjctMWYzOS00YjkzLTk3MzctODNlYTE3NzEwN2YxLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDEwMDYwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI0MDE2ZDk0ZjNjYTJhNDcwYjhhN2YwN2Y3ZmRjMzY2NWMwOWFkN2UzY2VhMDM4OTQ4MmY2M2M5NjA0NmZmMTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.8OFbwBEDScpKA5cC4Q5vqLeCCo1oI30PwseVDP-JVZY)
The text was updated successfully, but these errors were encountered: