-
Notifications
You must be signed in to change notification settings - Fork 375
python.datascience.(undo|redo)cells with (shift+)cmd+z #1483
Copy link
Copy link
Closed
Labels
Description
I'd like to add custom keyboard shortcuts for (shift+)cmd+z to undo/redo the last Python interactive action, something like
{
"key": "cmd+z",
"command": "python.datascience.undocells",
"when": "interactiveWindowFocus"
},
{
"key": "shift+cmd+z",
"command": "python.datascience.redocells",
"when": "interactiveWindowFocus"
}These shortcuts should trigger only when the interactive window is currently focussed so as not to interfere with the regular undo/redo in the text editor. However, there doesn't seem to be an interactive window equivalent for editorTextFocus like the interactiveWindowFocus suggested above. Could this be added?
Reactions are currently unavailable