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

Delete selection functionality (using DEL) #16

Open
refmitchell opened this issue Jun 12, 2018 · 3 comments
Open

Delete selection functionality (using DEL) #16

refmitchell opened this issue Jun 12, 2018 · 3 comments
Labels

Comments

@refmitchell
Copy link

refmitchell commented Jun 12, 2018

In Emacs default, highlighting a selection then pressing the DEL key deletes the entire selection. In the current EmacsKeys, it deletes only the first character as if I'd pressed C^d. Currently I have to C^w to cut the text but I'd like to keep my clipboard clean.

Edit:
I installed the version from: https://marketplace.visualstudio.com/items?itemName=JustinClareburtMSFT.EmacsEmulation#overview

@zbrad zbrad added the bug label Jul 19, 2018
@TTimo
Copy link

TTimo commented Apr 2, 2020

This is also a problem when selecting something, and pasting over it to replace it. Expected behavior would be that selected text gets removed and replaced, observed is that the pasted text is appended after the selected text, which remains.

Are there workarounds for this? I've tried changing Del/Suppr bindings to Visual Studio's defaults rather than the new ones provided by the extension, but I feel it's something different with how selected text behaves..

@TTimo
Copy link

TTimo commented Apr 14, 2020

I'm thinking if the key bind issues Edit.EmacsDeleteSelection followed by a normal Del of Bskpace we would get the expected behavior.

Justin Clareburt has jumped ship from Microsoft to Google so we may be SOL there. @zbrad are you still active with this project?

@TTimo
Copy link

TTimo commented Jun 7, 2020

TTimo@62ef612 - going to use this for a while, seems to behave the way I want now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants