Issues and workarounds for multi-line input and multiple profiles in VSCode terminal
Environment
- Windows 11 24H2
- VSCode 1.103.1
1. Multi-line Input
Issue: After running /terminal-setup, each line ends with an extra \.
<img width="145" height="106" alt="Image" src="https://github.com/user-attachments/assets/19939a9a-b1a7-48d3-b471-c0748aa34ca4" />
Solution: Refer to Firsh’s settings.
Change "\\\r\n" to "\^[\u000A", and it works correctly.
2. Multiple Profiles
Issue: After switching to a different Profile, even running /terminal-setup doesn’t make the shortcuts work.
Reason: Different Profiles reference their own keybindings.json.
Solution: First, copy the shortcut configurations from%USERPROFILE%\AppData\Roaming\Code\User\keybindings.json.
Then switch to the new Profile, press Ctrl+Shift+P, run Open Keyboard Shortcuts (JSON),
and paste the copied shortcut configurations into that profile’s keybindings.json.
Or enable shortcuts for this profile and share them with the default profile.
<img width="595" height="320" alt="Image" src="https://github.com/user-attachments/assets/54e9e1ae-0692-4d91-8446-cead506e343c" />
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗