Keyboard shortcuts
These are the defaults. Every menu command’s shortcut can be changed, removed or given one it does not have, and so can the keys of the project sidebar, the Git lists, a proposed edit and the branch popup: see Change any shortcut. Shortcuts are written the way macOS menus show them: ⌃ Control, ⌥ Option, ⇧ Shift, ⌘ Command.
The ones you will use most
Section titled “The ones you will use most”| Action | Keys |
|---|---|
| New tab (in the project, or the current tab’s folder) | ⌘T |
| Reopen the tab you closed last | ⇧⌘T |
| Open a project, or go to any window | ⌘O |
| Go to the next agent needing you, in any window | ⇧⌘U |
| Go to File: a file in the project by name | ⌘P |
| Go to Anything: any tab or project by name (outside a terminal) | ⌘K |
| Split the tab right, or down | ⌘D (outside the editor), ⇧⌘D |
| Duplicate the line in the editor | ⌘D |
| Move between panes | ⌥⌘← ⌥⌘→ ⌥⌘↑ ⌥⌘↓ |
| Send the selection to the agent in your tab | ⌥⌘K |
| Show a file’s changes, with the other changed files beside it | ⌥⌘G |
| Git Diff: every change on the branch | ⌃⌘G |
| Accept an agent’s proposed edit | ⌘↩︎ |
| Find in Files, Replace in Files | ⇧⌘F, ⇧⌘R |
| Between the editor and the terminal | ⌃` |
| Project sidebar | ⌘B |
| Settings, including every menu shortcut | ⌘, |
Next Term menu
Section titled “Next Term menu”| Command | Keys |
|---|---|
| Settings… | ⌘, |
| Check for Updates… | — |
| Check for Updates Automatically | — |
| Install Command Line Tool (nxtrm)… | — |
| Import Settings and Shortcuts… (from another editor or terminal) | — |
| Hide Next Term | ⌘H |
| Hide Others | ⌥⌘H |
| Quit Next Term | ⌘Q |
File menu
Section titled “File menu”| Command | Keys |
|---|---|
| New Tab | ⌘T |
| New Window | ⌘N |
| New Remote Tab… (a tab on one of your servers) | ⌥⌘T |
| Duplicate Tab (a new tab in the folder of the one in front) | — |
| Reopen Closed Tab (in its folder, with its name, in a fresh shell) | ⇧⌘T |
| Open Project… | ⌘O |
| Go to File… | ⌘P |
| Go to Anything… (every tab and project by name; in a terminal ⌘K is Clear Buffer, in a Markdown file Link: see Go to Anything) | ⌘K |
| Open Served URL (the address a dev server in the tab printed) | — |
| Open Recent, Open Projects In | — |
| Close Project | — |
| Save | ⌘S |
| Save All | ⌥⌘S |
| Reveal in Finder, Copy Path, Copy Relative Path (the file in front in the editor) | — |
| Split Right (while the editor has the keyboard, ⌘D is Duplicate Line) | ⌘D |
| Split Down | ⇧⌘D |
| Rename Tab… (while the project sidebar has the keyboard, ⌥⌘R is Reveal in Finder) | ⌥⌘R |
| Use Option as Meta Key (off by default; for Emacs-style keys) | — |
| Close Tab (Close Pane in a split tab; the file in front when the editor or the project sidebar has the keyboard) | ⌘W |
| Close Other Tabs, Close Tabs to the Right (the editor’s tabs when it has the keyboard) | — |
| Close Window (every project merged into it) | ⇧⌘W |
Edit menu
Section titled “Edit menu”| Command | Keys |
|---|---|
| Undo, Redo | ⌘Z, ⇧⌘Z |
| Cut, Copy, Paste (in the editor with nothing selected, Cut and Copy take the whole line) | ⌘X, ⌘C, ⌘V |
| Select All | ⌘A |
| Find › Find… | ⌘F |
| Find › Replace… (in the file you are editing) | ⌥⌘F |
| Find › Find Next | ⌘G |
| Find › Find Previous | ⇧⌘G |
| Find › Use Selection for Find | ⌘E |
| Find › Find in Files… | ⇧⌘F |
| Find › Replace in Files… | ⇧⌘R |
| Go to Line… | ⌘L |
| Go to Heading… (a Markdown file’s headings; JetBrains set: ⌘F12) | ⇧⌘O |
| Comment Line | ⌘/ |
| Indent | ⌘] |
| Outdent | ⌘[ |
| Line › Duplicate Line (while the editor has the keyboard) | ⌘D |
| Line › Delete Line | ⇧⌘K |
| Line › Move Line Up, Move Line Down | ⌃⌘↑, ⌃⌘↓ |
Line › Copy Path with Line (src/app.ts:42) | — |
| Markdown › Bold, Italic (while a Markdown file has the keyboard, as for every Markdown command) | ⌘B, ⌘I |
| Markdown › Strikethrough | ⇧⌘X |
| Markdown › Code | — |
| Markdown › Link | ⌘K |
| Markdown › Heading › Body Text, Heading 1 to Heading 6 | ⌥⌘0, ⌥⌘1 to ⌥⌘6 |
| Markdown › Bulleted List, Numbered List | — |
| Markdown › Toggle Task | ⇧⌘L |
| Markdown › Quote, Code Block | — |
| Clear Buffer (the screen and scrollback of the pane with the keyboard; in herdr, tmux or another full-screen program, only the pane it has in front; in a Markdown file, ⌘K is Link, and anywhere else Go to Anything; ⇧⌘K if you give ⌘K to Go to Anything) | ⌘K |
| Forget This Suggestion (while a suggestion shows: never suggested again) | ⇧⌘⌫ |
View menu
Section titled “View menu”| Command | Keys |
|---|---|
| Hide or Show Project Sidebar (in a Markdown file, ⌘B is Bold) | ⌘B |
| Focus Editor or Focus Terminal | ⌃` |
| Collapse Terminal or Expand Terminal (to its tab bar, or beside the editor to a rail with each tab’s mark) | ⌘J |
| Hide Window Column or Show Window Column (the column of every open window, from two windows on) | ⌃⇧⌘S |
| Expand Window Column or Collapse Window Column (in every window) | ⌃⌘S |
| Project Sidebar Position › Left, Right, Move to the Other Side | — |
| Window Column Position › Left, Right, Move to the Other Side (on the sidebar’s side, it follows the sidebar again) | — |
| Terminal Position › Bottom, Right, Left, Top | — |
| Terminal Tabs › Top, Left, Right (along the terminal’s bar, or in a list down its left or right) | — |
| Terminal Tabs › Show Folders (a second line on each tab’s row in the list) | — |
| Terminal Tabs › Collapse Tab List or Expand Tab List | — |
| Prompt Box (a text box under the tab’s terminal for a longer prompt; again, the keyboard goes between the two) | ⇧⌘I |
| Show Changes (the file’s, in the Git Diff tab) | ⌥⌘G |
| Diffs & Blame › Unified Diffs (every diff in one column instead of side by side; off by default) | ⌃⌘U |
| Diffs & Blame › Annotate with Git Blame (who last changed each line, beside the numbers) | ⌃⇧⌘A |
| Diffs & Blame › Current Line Blame (a note after the caret line; off by default) | ⌃⇧⌘L |
| Editor › Soft Wrap | ⌥⌘W |
| Editor › Markdown Live Preview (the Markdown file in front: Live Preview, or its source) | ⇧⌘V |
| Editor › Hide .env Values (the file in front; checked while its values are hidden) | — |
| Editor › Show File in Project Sidebar (the file in front in the editor) | — |
| Privacy › Suggestions While Typing (ticked while suggestions are on; off, none shows and no command is recorded) | — |
| Privacy › Private Mode (no suggestions while typing, and no command recorded, until you turn it off or quit) | — |
| Line Height › 1.0 to 2.0 | — |
| Agent Spinner › Spinning, Still, Off (how a terminal tab shows its agent working) | — |
| Project Color (the window’s colour along its top row) | — |
| Bigger | ⌘+ (also ⌘=) |
| Smaller | ⌘- |
| Actual Size | ⌘0 |
| Enter Full Screen | ⌃⌘F |
| Show Project Tab Bar | — |
| Show All Project Tabs | ⇧⌘</kbd> |
The commands under Project Sidebar Position, Window Column Position, Terminal Position and Terminal Tabs have no default shortcut; give any of them one in Settings › Keyboard Shortcuts. See Where the tabs go.
Agents menu
Section titled “Agents menu”| Command | Shortcut |
|---|---|
| Skills… (Settings › Skills, with the number of installed skills that have an update) | — |
| MCP Servers… (Settings › MCP Servers: see MCP servers) | — |
| Go to Next Agent Needing You (in any window; again for the next) | ⇧⌘U |
| New Agent Session… (an agent session in a tab of the window’s project) | — |
| Resume Agent Session… | ⌥⌘O |
| Send to Agent (the editor’s or a diff’s selection, the sidebar’s files, or the text selected in the terminal) | ⌥⌘K |
| Suggest a Command… (while it is off, opens Settings › Terminal at Suggestions: see Suggest a command) | ⌃⌘K |
Shortcuts are saved per command, so a key you changed before these moved to the Agents menu still works.
Tasks menu
Section titled “Tasks menu”| Command | Keys |
|---|---|
| Add Task… (a prompt as a task, in the todo folder or where the project sends its tasks) | ⌃⌘T |
| Wrap Up… (your agent tabs write handoffs; their next steps become tomorrow’s tasks after you review them) | ⌃⌘W |
| Post Update… (a Done / Next / Blocked draft from today’s work) | — |
| Show Todo Folder | — |
| Connect a Tracker to Your Agents… | — |
| Task Settings… (Settings › Tasks) | — |
Send Tasks To ▸, between Show Todo Folder and Connect a Tracker to Your Agents…, is a submenu of destinations, so its rows take no key. See Tasks.
Secrets menu
Section titled “Secrets menu”| Command | Keys |
|---|---|
| Show Secrets (the Secrets window) | — |
| Add Key… | — |
| Import From › A File…, MCP Configs…, 1Password…, Bitwarden…, Bitwarden Secrets Manager… | — |
| Show Key Request | — |
| Pause Key Requests for 1 Hour… (Resume Key Requests while paused) | — |
| Revoke All Approvals… | — |
None has a default shortcut; give any of them one in Settings › Keyboard Shortcuts. A shortcut you gave Window › Secrets stays on Show Secrets. The keys in Keys Due to Rotate take no shortcut. See The Secrets menu.
Git menu
Section titled “Git menu”| Command | Keys |
|---|---|
| Branches… (the branch popup) | ⌥⌘B |
| Fetch (every remote; the branch popup’s ⌘R does the same; JetBrains set: ⌥⌘F) | ⌘R |
| Update Project (fetch, then move the branch up to its upstream; asks Rebase or Merge if both changed) | ⌥⌘U |
| Commit… (opens the commit sheet; in the JetBrains set too) | ⇧⌘C |
| Push… (shows what goes out, and asks first; JetBrains set: ⇧⌘K) | ⌥⌘P |
| Rollback… (the changed lines at the caret, the current change in a diff, or whole files, back to the last commit, with Undo) | ⌥⌘Z |
| New Branch… | ⇧⌘B |
| Git Log (the commit history) | ⌥⌘L |
| Git Diff (the changed files and their diffs) | ⌃⌘G |
| Git Commands (what Next Term ran) | — |
In the branch popup: ↩ checks out, ⌥↩ checks out and updates a branch that is behind its upstream, → opens the branch’s menu, ⌘R fetches, ⌘↩ makes a new branch from the selected branch or tag, ⌘⌫ deletes the branch (one on a remote after asking), ⌘C copies its name (a worktree’s path). The last four can be changed: see Keys outside the menus.
In the Git Diff tab’s file list: ↑ and ↓ move from file to file, ↩ goes to the diff. ↩ can be changed.
In the Git Log: ↑ and ↓ move through the commits, ⌘F goes to the search field, ↩ moves to the selected commit’s changed files (and ↩ there opens a file’s diff), ⌘C copies the commit’s hash. ↩ can be changed.
Window menu
Section titled “Window menu”| Command | Keys |
|---|---|
| Minimize | ⌘M |
| Show Next Tab | ⇧⌘] |
| Show Previous Tab | ⇧⌘[ |
| Show Previous Project Tab, Next Project Tab (merged windows) | ⌃⌘[, ⌃⌘] |
| Move Project to New Window | — |
| Merge All Windows | — |
| Select Pane on the Left, on the Right | ⌥⌘←, ⌥⌘→ |
| Select Pane Above, Below | ⌥⌘↑, ⌥⌘↓ |
| Select Next Pane, Previous Pane | ⌥⌘], ⌥⌘[ |
| Go to Agent… (every agent in every window, herdr’s and your agent tabs’, what needs you first) | ⌃⌘A |
| Maximize Pane (again to restore) | ⇧⌘↩︎ |
| Make Panes Equal | — |
| Select Tab 1 to 8 | ⌘1 to ⌘8 |
| Select Last Tab | ⌘9 |
| Welcome to Next Term | — |
| Skills | — |
Help menu
Section titled “Help menu”| Command | Keys |
|---|---|
| Show Tips Again (every tip you’ve seen or closed shows again, as Settings › General › Reset Tips does) | — |
Keys outside the menus
Section titled “Keys outside the menus”Each of these belongs to one part of the window and works only there. Settings › Keyboard Shortcuts lists them after the menu commands, with the part each belongs to, and changes them as it changes a menu command’s; a tooltip that names one, such as Accept’s on a proposed edit, follows it. In the project sidebar and the Git lists, where nothing is typed, a key needs no ⌘ or ⌃: ↩︎ will do on its own, and ↩︎, ⌫ or ⌦ with ⇧ or ⌥.
The project sidebar’s are the items of its right-click menu, and the menu shows each one’s key the way the menu bar does, as you have set it; a key without ⌘ or ⌃, such as Rename’s ↩︎, is in the item’s tooltip instead. The key does what the item does, to the selected rows, while the sidebar has the keyboard; anywhere else it does what it did before. If you gave one of these keys to a menu command yourself before it was a sidebar command’s default, it stays the menu command’s, and that sidebar command has no key until you give it one. The menu’s Send to Agent, Show Changes (and Show What Was Deleted) and Show All Sessions… are the menu bar’s commands, ⌥⌘K, ⌥⌘G and ⌥⌘O, which act on the sidebar’s selection while it has the keyboard.
| Part of the window | Command | Default |
|---|---|---|
| Project Sidebar | Open: a file, a SQLite database, a service’s page, a session (Resume or Go to Tab) | ⌘↓ |
| Project Sidebar | Open in New Tab: a folder, a file’s folder, a database’s mysql or psql | — |
| Project Sidebar | Open as Project | — |
| Project Sidebar | Reveal in Finder | ⌥⌘R |
| Project Sidebar | New File (⌘N is New Window everywhere) | ⌥⌘N |
| Project Sidebar | New Folder (no key with VS Code’s keys, where ⇧⌘N is New Window) | ⇧⌘N |
| Project Sidebar | Rename | ↩︎ (Enter too) |
| Project Sidebar | Move to Trash | ⌘⌫ |
| Project Sidebar | Insert Path in Terminal | — |
| Project Sidebar | Copy Path, Copy Relative Path (a deleted file’s too) | ⌥⌘C, ⌥⇧⌘C |
| Project Sidebar | Refresh: the files, or the Databases, Services or Agent Sessions group (from any of its rows) | — |
| Project Sidebar | Open Service Page: the first page in a Databases or Services row’s menu, such as Open Neon Console | — |
| Project Sidebar | Open in TablePlus, Open in Vercel, Copy Connection Name, Reveal Source File (a Databases row; on a Services row, Copy Connection Name is Copy Service Name) | — |
| Project Sidebar | Fork Session, Copy Resume Command (an Agent Sessions row) | — |
| Project Sidebar | Continue Latest Session: the first agent’s in the Agent Sessions group’s menu (from any of its rows) | — |
| Git Log, Git Diff and Compare lists | Open Commit or File: from a commit to its changed files, a file’s diff, or from the Git Diff tab’s file list to the diff | ↩︎ |
| Proposed Edit | Accept an agent’s proposed edit | ⌘↩︎ |
| Branch Popup | Fetch | ⌘R |
| Branch Popup | New Branch from Selected (a branch or a tag) | ⌘↩︎ |
| Branch Popup | Delete Branch (one on a remote after asking) | ⌘⌫ |
| Branch Popup | Copy Name (a worktree’s path) | ⌘C |
These are fixed:
| Where | Action | Keys |
|---|---|---|
| Tabs | Next tab, previous tab | ⌃⇥, ⌃⇧⇥ |
| Tabs | Rename a terminal tab | Double-click the tab |
| Tabs | Keep a preview tab | Double-click the tab |
| Tabs | Close | Middle-click the tab |
| Tabs | Rename, split, duplicate, close it or the others | Right-click the tab |
| Top row | That place’s layout commands, then Project Color (see Right-click a bar) | Right-click the sidebar’s top bar, the terminal’s tab bar or folded rail, or the window column |
| Tab list | Collapse it to a column of marks, or open it again | Double-click its edge |
| Tab list | New tab | Double-click below the last row |
| Tab list | Peek at an agent: one of herdr’s, or a tab’s | ⌥-click its row |
| Go to Agent | Choose one of the first nine agents, or one by name | 1–9, or type its name |
| Go to Agent | Peek at an agent instead of going to it | Hold ⌥ |
| Peek | Answer the question; the screen or the conversation; Why This State?; go to the agent; close | 1–9; ⌘1, ⌘2; ⌘E; ⌘↩︎; ⎋ |
| Terminal | Copy, Paste, Clear, Find, Split, Send Selection to Agent; open or reveal a link or path | Right-click (⇧-right-click or ⌃-click when a program such as herdr, tmux or vim reads the mouse; its right and middle clicks go to it) |
| Terminal | Open a path such as src/app.ts:42:7, or a link | ⌘-click |
| Terminal | Suspend the running program | ⌃Z |
| Terminal | Paste an image: to an agent that takes one on ⌃V (Claude Code, Codex, Gemini CLI, Qwen Code, OpenCode, Cursor Agent, Command Code) as that key, elsewhere as its path | ⌘V |
| Terminal | Tab completion: list what completes the word, at a zsh prompt or in a remote tab | ⇥ |
| Tab completion list | Choose a row | ↓ ↑, ⌃N ⌃P, ⇧⇥ |
| Tab completion list | Go into the chosen folder, listing what is inside | → or ⇥ |
| Tab completion list | Back up from a folder gone into | ←, or ⌫ that takes the folder’s / |
| Tab completion list | Put the chosen name on the line | ↩︎; → or ⇥ on a file |
| Tab completion list | Close it, sending the shell nothing | ⎋ |
| Terminal | Take the suggestion while typing | → (or End, ⌃E, ⌃F) |
| Terminal | Take one word of the suggestion | ⌥→ |
| Terminal | Hide the suggestion for the rest of the line | ⎋ |
| Editor | Indent or outdent the selected lines | ⇥, ⇧⇥ |
| Editor | In a Markdown list: the next item, nest the item, take it back out | ↩︎, ⇥, ⇧⇥ |
| Editor | Tick a Markdown task’s box (Live Preview) | Click the box |
| Editor | Follow a Markdown link | ⌘-click |
| Go to Heading | Narrow, choose, jump, close | Type, ↓ ↑, ↩︎, ⎋ |
| Sidebar | Open | One click (a double-click, with Open files and folders with a single click off) |
| Sidebar | Select the enclosing folder (from the home folder you browse, back to No project open) | ⌘↑ |
| Sidebar | Copy instead of move while dragging | Hold ⌥ |
| Branch popup | Check out, check out and update, the branch’s menu | ↩︎, ⌥↩︎, → |
| Go to File | Open at a line | Type name:42 |
| SQLite viewer, large data files | Show or hide a cell’s whole value | Space, or click the cell |
| SQLite viewer | Edit the cell, once Allow Editing… allows it; save it | ↩︎ or double-click; ⌘S, or ↩︎ in the cell |
| Welcome window | Move through the projects, windows and servers, the keyboard staying in the search | ↓ ↑, ⌃N ⌃P |
| Welcome window | Go to an open project’s window or a window’s own, open a closed project, or go to a server’s window (connecting when none is open) | ↩︎ |
| Welcome window | Open the selected project in a new window, or connect to the selected server in a new window | ⌘↩︎ |
| Welcome window | Jump to one of the first nine rows (the keys show while ⌘ is held) | Select Tab’s keys, ⌘1–⌘9 |
| Welcome window | Forget the selected closed project, here and in File › Open Recent (Edit › Undo, ⌘Z, puts it back) | ⌘⌫ on an empty search |
| Welcome window | Empty the search; on an empty one, close the window while another Next Term window is open | ⎋ |
Change any shortcut
Section titled “Change any shortcut”Open Next Term › Settings… (⌘,) and choose Keyboard Shortcuts. Every menu command is listed with where it lives in the menus, and after them the keys outside the menus, each with the part of the window it belongs to.
- Search by command name, menu, part of the window or shortcut.
- Click a command’s shortcut and press the new keys. ⌫ removes the shortcut; ⎋ cancels.
- If the keys already belong to another command, Next Term says which and offers Use It Here; the other command is then left without a shortcut.
A key can belong to one command in each part of the window. Edit › Line’s commands work only while the editor has the keyboard, so one of them can share a key with a command for the terminal (Split Right, Split Down, Clear Buffer, Rename Tab, New Remote Tab and the pane commands): the editor’s command has it while the editor has the keyboard, the terminal’s everywhere else. That is how ⌘D duplicates a line in the editor and splits the terminal elsewhere. Edit › Markdown’s commands work only while a Markdown file has the keyboard, so each can share its key with a command for everywhere: ⌘B is Bold there and Hide Project Sidebar everywhere else, and ⌘K is Link there and Clear Buffer everywhere else. In the same way the sidebar’s Move to Trash and the editor’s Delete Line can both be ⌘⌫, Rename in the sidebar and Open in the Git Log are both ↩︎, and the sidebar’s Reveal in Finder and Rename Tab are both ⌥⌘R: Reveal in Finder while the sidebar has the keyboard, Rename Tab everywhere else. The branch popup has the keyboard while it is open, so its keys can be any other command’s too: its ⌘C copies a branch’s name, and Edit › Copy is ⌘C everywhere else. Settings lists all of them on the key and does not call that a clash; point at a shortcut to see which part has it. Accept on a proposed edit is the exception: it works wherever the keyboard is in the window while the proposed edit is shown, and the project sidebar can be beside it, so it can’t share a key with the sidebar’s commands. While the menus are open over the editor, the shared key shows on the editor’s command.
A shortcut needs ⌘ or ⌃ (or a function key), so it can never swallow ordinary typing. A changed command shows a Default button that puts its shortcut back, and Restore All Defaults resets everything. Changes apply at once, in every menu, including the ⋯ menus and the right-click menus, and in the tooltips that name a key, such as the + button’s “New tab (⌘T)”. A command left without a shortcut shows none.
The window’s icon buttons show their key in dim text just before the icon, as each tab shows ⌘1: ⌘B by the sidebar icon, ⌘T by the +, ⌘J by the terminal’s fold arrow (on the folded rail, under it), ⌘R by the branch popup’s fetch button. These follow your keys too, and the scope button by the editor’s tabs shows one once you give View › Editor › Show File in Project Sidebar a key. When room is short they go first: in the sidebar’s header the hide button’s key shows only while the branch name, its icon, the line counts and the Pull or Push button all fit in full, and in a tab bar a key goes before the tabs narrow. A key that gave way still shows the moment the pointer is on its button, beside the icon (on the folded rail, under the arrow), over whatever is there, and goes as soon as the pointer leaves. Nothing moves for it, a key too long for its place doesn’t show, and a click there still reaches what is under it.
