Saurabh Kumar

#editor

Code editors, IDE tools, vim motions

TIL notes

  • Jun 21, 2026

    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 an if, def or class line.
  • Jun 21, 2026

    Zed’s Hidden Gems: Community Edition thread collects users’ favourite Zed features and workflows, a companion to Hidden Gems: Team Edition. One tip from it: point agent.commit_message_model at gemini-2.0-flash on a free Gemini API key to write commit messages.

  • Feb 16, 2026

    panphora/overtype: The markdown editor that’s just a textarea with a small size footprint and a minimum looking UI https://overtype.dev (⭐3431)

  • Oct 5, 2023

    VS Code’s built-in terminals are hard to move between from the keyboard. These keybindings.json entries fix it, adapted from jbranchaud’s TIL:

    • cmd+[ / cmd+]: previous / next terminal
    • cmd+1 to cmd+5: terminal by position
    • cmd+n: new terminal; cmd+w: kill it
    • cmd+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" }