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

Undo (Ctrl + z) not working #13827

Closed
alx-so opened this issue Oct 16, 2016 · 6 comments
Closed

Undo (Ctrl + z) not working #13827

alx-so opened this issue Oct 16, 2016 · 6 comments

Comments

@alx-so
Copy link

alx-so commented Oct 16, 2016

  • VSCode Version: 1.6.1
  • OS Version: Windows 10

Steps to Reproduce:

  1. Ctrl + Z not undoing changes

Checked in keybindings, settings set as expected: { "key": "ctrl+z", "command": "undo" }

@alx-so alx-so closed this as completed Oct 16, 2016
@gideondsouza
Copy link

gideondsouza commented Jun 14, 2017

Somehow I've been having this SAME issue.

I'd just been busy and constantly for a while have gotten accustomed to using the Menu Edit>Undo. I googled once or twice but was swamped and thought it was probably something on my very played around laptop. However when I googled today I found this issue 🙏

I do occasionally use a german keyboard layout that switches the z and y. But I tested specifically my English layout on several applications.

Somehow, vscode ONLY does nothing at all when I press CTRL + Z. I checked the keybindings also and it says Ctrl + Z is undo. All other apps work fine. I can undo and redo as I type here.

@Sokol-ua could I please know why this was closed, also if I can add any more detail?

I'm on VS Code 1.13.0
On Fedora 25
I just updated to 1.13 but this issue has been on my machine since 1.10 or earlier.

I also tried using a different keyboard layout in my fedora settings. I have English(India) with Rupee Sign. English(US) and German. If I open the keyboard layout app and press Ctrl + Z the right keys light up, so the keyboard and drivers are working.
Note: Ctrl + Y works in VS Code. It's only Ctrl + Z

@gideondsouza
Copy link

gideondsouza commented Jun 14, 2017

@stevencl sorry I'm mentioning you here but I'm hoping this issue doesn't get unnoticed.

Let me know any information you need me to provide.

@stevencl
Copy link
Member

Sorry to hear thay ctrl-z isn't working for you @gideondsouza

Could you take a look at this issue #24057 and see if there is any information there that could help?

cc @alexandrudima

@gideondsouza
Copy link

Hey thanks @stevencl sorry I didn't look hard enough to find that issue.

ok wow! From this comment : #24057 (comment)

When I open the Define Keybindings window and press z it reads it as y. This is so weird! This should only happen if I'm on the German keyboard, every where else I press z and it's z but on vscode z is a y ?

What is going on?

@alexdima
Copy link
Member

@gideondsouza Could you have a look at our Keybinding Troubleshooting guide -- https://github.com/Microsoft/vscode/wiki/Keybindings -- does anything in there resolve the problem for you ?

@TryingToFindALoginWhichIsNotRegistered
Copy link

I don't understand, while this case is closed, but not fixed. I use Debian Buster (pre-release) and the latest vs-code 1.17.2, German layout.

  • when I open vs-code [Strg][Y] is 'Undo'.
  • once open "Datei" "Einstellungen" "Tastaturkombinationen"
  • after closing keybindings (without changing or saving), 'Undo' switches to [Strg][Z]

Short: open and close keybindings will correct the settings. Maybe a hint for bug-fixing.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants