-
Notifications
You must be signed in to change notification settings - Fork 37k
Description
Ctrl+n is such an important keybinding for me, regardless of where I am ctrl+n should create a new file. When in a change is activeit ends up changing the diff totally unexpectedly which is very disorienting. After doing this I press ctrl+u hoping that it undid the undo, then I have too many tabs to double click the empty area so I need to click another file without edits and press ctrl+n.
vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.ts
Lines 238 to 244 in de33fdc
| keybinding: { | |
| when: ContextKeyExpr.and(ctxCursorInChangeRange, ContextKeyExpr.or(EditorContextKeys.focus, NOTEBOOK_CELL_LIST_FOCUSED)), | |
| weight: KeybindingWeight.WorkbenchContrib + 1, | |
| primary: _accept | |
| ? KeyMod.CtrlCmd | KeyCode.KeyY | |
| : KeyMod.CtrlCmd | KeyCode.KeyN | |
| }, |
What I was doing when I hit this was trying to format some text to show the model what the right way of doing it was, but it's important that it happens in a monospace font for alignment:
Feel free to close if it's by design as it's been in for months now. I found it very confusing when hitting this but luckily I have enough knowledge to investigate. I'll unbind it here so my problem is resolved as I only ever keep all edits anyway.