Wisp PDE
An opinionated personal development environment for VS Code, packaged as a single install:
- Wisp modal editing: pulls in Wisp: Helix Emulator.
- Minimal UI: no tabs, activity bar, minimap, breadcrumbs, scrollbars or menu bar.
- Catppuccin Mocha: the colour and icon themes, with Cascadia Code.
- tmux-style layout keys: a
ctrl+b leader for splits, groups, panels and the terminal.
It is declarative only: settings defaults, keybindings and an extension pack. It runs no code.
Install
Install Wisp PDE from the Marketplace. VS Code installs the bundled extensions too.
Everything here is a default. Your own settings.json and keybindings.json still win.
Boundary with Wisp
Wisp PDE is tmux plus emacs for the workbench. Wisp is Helix inside one editor pane.
- Wisp owns everything inside a text editor: modes, motions,
space mode, : commands, and editor overlays. It never changes the layout or closes the window.
- Wisp PDE owns the
ctrl+b leader, the layout, the parts (side bar, panel, chat), settings and theme. It routes on part focus (inChat, sideBarFocus, panelFocus, auxiliaryBarFocus, terminalFocus), never on editorFocus, which is false on webview tabs.
- Two leaders.
space is Helix's, scoped to the editor. ctrl+b is the leader everywhere, like Doom's SPC; space can't be global because the terminal and chat take raw text. Overlap such as space f and ctrl+b f is deliberate: the same tool from any pane.
- No leaderless keys except
ctrl+[, ctrl+escape, alt+left / alt+right and ctrl+shift+enter.
ctrl+[ is Escape. A terminal sends the same byte for both, so whoever owns an Escape binding owns its ctrl+[ twin: Wisp in the editor, Wisp PDE for quick open, the panel and notifications. The terminal gets Escape untouched.
A test in test/keybindings.test.mjs enforces the leader and focus rules.
Navigation
Move by direction, jump by name, o goes back, and keys act on whatever has focus.
- Direction:
ctrl+b arrows cross editor groups, the side bar, the panel and chat.
- Name:
e explorer, a chat, shift+o terminal, ctrl+escape editor.
- Back:
o or ; goes from the editor to chat, and from anywhere else to the editor.
- Focus-scoped:
c, x, z and s act on the focused part, so ctrl+b x closes chat in chat and kills the terminal in the terminal.
Keys
Leader: ctrl+b, then the key.
| Key |
Action |
tmux analogue |
left down up right |
Focus the editor group, side bar, panel or chat in that direction |
select-pane |
h j k l |
Move editor to group in that direction |
|
n / p |
Next / previous editor |
next-window / previous-window |
shift+l / shift+h |
Next / previous editor |
|
w |
Pick an open editor |
choose-window |
% or ' |
Split right |
% |
" |
Split down |
" |
c |
New untitled file (new chat when in chat) |
new-window |
x |
Close the focused pane: chat side bar, terminal (killed), panel, side bar, else the editor |
kill-pane |
ctrl+arrow |
Resize group |
resize-pane |
z |
Maximize the secondary side bar or panel when focused; zen mode elsewhere |
zoom |
shift+z |
Toggle centred layout |
|
1–8, 9 |
Focus group N, last group |
select-window |
b / shift+b |
Toggle side bar / secondary side bar (chat) |
|
e |
Explorer |
|
a |
Focus chat |
|
t |
New terminal |
|
o / ; |
From the editor (or a webview tab), focus chat; from anywhere else, focus the editor |
next pane / last pane |
shift+o |
Toggle the terminal |
|
s |
Open a recent folder or workspace (a chat session when in chat) |
choose-session |
: (shift+;) |
Command palette |
command-prompt |
f / / |
Quick open / find in files |
|
? (shift+/) |
Keyboard shortcuts |
list-keys |
d |
Close the window |
detach |
ctrl+b |
In the terminal, send ctrl+b to the shell |
send-prefix |
In chat, lowercase opens a picker and shift cycles or varies:
| Key |
Action |
a / shift+a |
Agent picker / next agent |
m / shift+m |
Model picker / next model |
s |
Pick a chat session (tmux choose-session) |
c |
New chat |
x |
Close the secondary side bar |
shift+p |
Start a /plan prompt |
z |
Maximize the secondary side bar when chat lives there (zoom) |
ctrl+b o goes back to the editor.
Without the leader:
| Key |
Action |
ctrl+escape |
Focus editor |
ctrl+[ |
Close the open quick open, panel or notifications (Escape parity; Wisp handles editor widgets) |
alt+left / alt+right |
Line start / end in text inputs |
ctrl+shift+enter |
Run active file in terminal |
Keybinding decisions
Conflicts are resolved preferring tmux, then Helix, then VS Code defaults.
| Binding |
Decision |
Why |
ctrl+b leader |
Replaces the default sidebar toggle (now ctrl+b b) |
tmux prefix |
ctrl+b in the terminal |
Captured by VS Code; ctrl+b ctrl+b sends it to the shell |
Lets ctrl+b o leave the terminal. tmux send-prefix, so nested tmux and readline still get ctrl+b |
ctrl+arrow |
Not bound; VS Code's word jumps stay |
ctrl+b arrows already cross every part, so a leaderless copy only cost word motion in text inputs |
ctrl+[ in the editor |
Owned by Wisp, including closing find, suggest, hints and peek |
A terminal sends Escape for ctrl+[, so whoever owns Escape owns it; Helix owns the editor |
ctrl+[ in the terminal |
Not bound |
Shells and terminal editors need Escape |
ctrl+[ clearing selections |
Not bound |
Helix selection semantics belong to Wisp |
ctrl+, / ctrl+. indent |
Not bound |
Use Wisp < / >; ctrl+, stays Settings |
ctrl+b shift+h / shift+l |
Shifted, not capital letters |
VS Code keys ignore case, so capitals clash with h / l |
ctrl+b shift+o for the terminal |
Toggles the terminal; replaces ctrl+b enter and the ctrl+b p panel toggle |
Pairs with ctrl+b o. p is previous editor, as in tmux. Problems and Output are reached through the palette or Helix space d |
ctrl+b x |
Closes whatever has focus; kills the terminal |
tmux kill-pane. Replaces ctrl+b & |
ctrl+b : / f |
Command palette / quick open; replace , / . |
tmux command-prompt; f matches Helix space f |
ctrl+b d |
Closes the window |
The only quit lives in the workbench manager. Wisp :qa closes editors but keeps the window, chat and terminal |
ctrl+b o / ctrl+b ; |
Toggle editor ↔ chat, keyed on which part has focus; the terminal is not in the cycle |
tmux next / last pane. Webview tabs (extension pages, settings) have no editorFocus, so routing on part focus is what makes o work there. Cycling into the terminal would open a hidden panel; ctrl+b shift+o does that on purpose |
Chat keys under ctrl+b |
Scoped to inChat; a, c, s and x do something else outside chat |
One leader everywhere instead of the default ctrl+. / ctrl+alt+. pickers |
ctrl+b shift+p |
Prefills /plan and replaces any draft in the input |
The Plan mode chip has no working command yet (microsoft/vscode#339472) |
ctrl+b z in the secondary side bar or panel |
Maximizes that part instead of zen mode |
tmux zoom for the chat or terminal pane |
Settings an extension cannot set
VS Code does not let extensions default application-scoped settings. Add these to your user settings.json if you want them:
{
"window.titleBarStyle": "custom",
"window.restoreWindows": "none"
}
Opting out
- A setting: set it in your user
settings.json.
- A key: add
{ "key": "<key>", "command": "-<command>" } to your keybindings.json.
- Everything: uninstall Wisp PDE. The bundled extensions stay installed until you remove them.
Taste
This is one person's setup, published so it installs anywhere. Fork it rather than filing issues about taste. Bugs are welcome.
License
MIT
| |