windows: Make ctrl-n open a new terminal when in a terminal (#38900)

This is how `ctrl-n` works on macOS. Right now `ctrl-n` on Windows with
the default keymap usually causes a new buffer to open, which is
inconvenient.

Release Notes:

- N/A
This commit is contained in:
Cole Miller
2025-09-25 17:51:19 +00:00
committed by GitHub
parent e7a5c81b07
commit 40138e12a4
+1
View File
@@ -1110,6 +1110,7 @@
"alt-f": ["terminal::SendText", "\u001bf"],
"alt-.": ["terminal::SendText", "\u001b."],
"ctrl-delete": ["terminal::SendText", "\u001bd"],
"ctrl-n": "workspace::NewTerminal",
// Overrides for conflicting keybindings
"ctrl-b": ["terminal::SendKeystroke", "ctrl-b"],
"ctrl-c": ["terminal::SendKeystroke", "ctrl-c"],