#editor
Code editors, IDE tools, vim motions
TIL notes
Vim motion tips for Zed
Vim motion tips for Zed. Turn on relative line numbers, and let vim mode switch them to absolute in Insert mode, so you get jump distances in Normal mode and context while typing.
{ "relative_line_numbers": true, "vim": { "toggle_relative_line_numbers": true } }[[/]]jump between function definitions in a large Django or FastAPI file.f:moves to the end of anif,deforclassline.
panphora/overtype
panphora/overtype: The markdown editor that’s just a textarea with a small size footprint and a minimum looking UI https://overtype.dev (⭐3431)
Navigating VS Code terminals from the keyboard
VS Code’s built-in terminals are hard to move between from the keyboard. These
keybindings.jsonentries fix it, adapted from jbranchaud’s TIL:cmd+[/cmd+]: previous / next terminalcmd+1tocmd+5: terminal by positioncmd+n: new terminal;cmd+w: kill itcmd+t: toggle between terminal and editor
{ "key": "cmd+]", "command": "workbench.action.terminal.focusNext", "when": "terminalFocus" }, { "key": "cmd+[", "command": "workbench.action.terminal.focusPrevious", "when": "terminalFocus" }, { "key": "cmd+1", "command": "workbench.action.terminal.focusAtIndex1", "when": "terminalFocus" }, { "key": "cmd+2", "command": "workbench.action.terminal.focusAtIndex2", "when": "terminalFocus" }, { "key": "cmd+3", "command": "workbench.action.terminal.focusAtIndex3", "when": "terminalFocus" }, { "key": "cmd+4", "command": "workbench.action.terminal.focusAtIndex4", "when": "terminalFocus" }, { "key": "cmd+5", "command": "workbench.action.terminal.focusAtIndex5", "when": "terminalFocus" }, { "key": "cmd+n", "command": "workbench.action.terminal.new", "when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" }, { "key": "cmd+w", "command": "workbench.action.terminal.kill", "when": "terminalFocus" }, { "key": "cmd+t", "command": "workbench.action.terminal.focus", "when": "!terminalFocus" }, { "key": "cmd+t", "command": "workbench.action.terminal.toggleTerminal" }