Claude Code, the AI behind every agent, has keyboard shortcuts to steer the conversation. You do not need any of them to build an app. Four are worth learning on day one. The rest are here for when a tip mentions a key or you want more control.Claude Code, el AI detrás de cada agente, tiene atajos de teclado para guiar la conversación. No necesitas ninguno para construir una app. Cuatro valen la pena desde el primer día. El resto está aquí para cuando un consejo menciona una tecla o quieres más control.
Shortcuts work in a Claude Code or Agent tab, not in a Shell tab. Click inside the terminal first so it receives your keys. They come from Claude Code itself, so they can change with your version. Press ? on an empty prompt to see the list your version has.Los atajos funcionan en una pestaña Claude Code o de agente, no en una pestaña Shell. Haz clic dentro de la terminal primero para que reciba tus teclas. Vienen de Claude Code, así que pueden cambiar con tu versión. Pulsa ? con el prompt vacío para ver la lista de tu versión.
The four keys that matter mostLas cuatro teclas más importantes
| KeyTecla | What it doesQué hace |
| Shift + Tab | Choose how much the AI may do without asking you. Each press moves to the next permission mode. See Permission modes.Elegir cuánto puede hacer el AI sin preguntarte. Cada pulsación pasa al siguiente modo de permisos. Mira Modos de permisos. |
| Esc | Interrupt the AI while it works, so you can redirect it. The work done so far is kept.Interrumpir al AI mientras trabaja, para darle otra dirección. Lo que ya hizo se conserva. |
| Esc Esc | Undo a wrong turn. On an empty prompt it opens the rewind menu, where you go back to an earlier point of the conversation and the code.Deshacer un mal paso. Con el prompt vacío abre el menú para retroceder, donde vuelves a un punto anterior de la conversación y del código. |
| Ctrl + O | See what the AI actually did: each tool it used, the timestamps and the model of each message. Press it again to go back.Ver lo que el AI hizo de verdad: cada herramienta que usó, la hora y el modelo de cada mensaje. Púlsalo otra vez para volver. |
The permission mode and the model you pick in Account Settings > Claude apply to every new session. Shift + Tab only changes the session you are in.El modo de permisos y el modelo que eliges en Account Settings > Claude se aplican a cada sesión nueva. Shift + Tab solo cambia la sesión en la que estás.
Permission modesModos de permisos
Shift + Tab moves through the permission modes of the current session. The status bar shows the active one.Shift + Tab recorre los modos de permisos de la sesión actual. La barra de estado muestra el que está activo.
| ModeModo | Status barBarra de estado | What runs without askingQué se ejecuta sin preguntar |
| Manual | ⏸ manual mode on | Only reading. Every edit and command asks first. Good for sensitive work.Solo leer. Cada cambio y cada comando pregunta antes. Útil para trabajo delicado. |
| Accept edits | ⏵⏵ accept edits on | Reading, file edits and common file commands (mkdir, touch, mv, cp, rm, sed) inside the project folder.Leer, editar archivos y los comandos de archivos más comunes (mkdir, touch, mv, cp, rm, sed) dentro de la carpeta del proyecto. |
| Plan | ⏸ plan mode on | Reading and exploring only. The AI proposes a plan and waits for your approval before it changes anything.Solo leer y explorar. El AI propone un plan y espera tu aprobación antes de cambiar algo. |
| Auto | ⏵⏵ auto mode on | Everything, with a separate model reviewing each action first. It is the Studio default. It appears in the cycle only when your account and model support it.Todo, con un modelo aparte que revisa cada acción antes. Es el valor por defecto del Studio. Aparece en el ciclo solo cuando tu cuenta y tu modelo lo admiten. |
| Bypass permissions AdvancedAvanzado | ⏵⏵ bypass permissions on | Everything, with no checks. It appears in the cycle only when the session started in this mode, which in the Studio means choosing Bypass in Account Settings. Use it only in a safe, separate setup.Todo, sin ningún control. Aparece en el ciclo solo cuando la sesión empezó en este modo, lo que en el Studio significa elegir Bypass en Account Settings. Úsalo solo en un entorno seguro y separado. |
| Don't ask AdvancedAvanzado | ⏵⏵ don't ask on | Only tools approved beforehand. Everything else is refused. It is never in the cycle, because it is set when Claude Code starts. Meant for automated scripts.Solo las herramientas aprobadas de antemano. Todo lo demás se rechaza. Nunca está en el ciclo, porque se define cuando Claude Code se inicia. Pensado para scripts automáticos. |
The usual order is Manual, Accept edits, Plan, and back to Manual. When they are available, Bypass permissions and Auto join after Plan, Bypass first and Auto last.El orden habitual es Manual, Accept edits, Plan y de vuelta a Manual. Cuando están disponibles, Bypass permissions y Auto se suman después de Plan, primero Bypass y al final Auto.
While the AI is planningMientras el AI planifica
| KeyTecla | What it doesQué hace |
| Shift + Tab | Leave plan mode without approving the plan.Salir del modo plan sin aprobar el plan. |
| Ctrl + G | Open the proposed plan in your text editor and change it before the AI continues.Abrir el plan propuesto en tu editor de texto y cambiarlo antes de que el AI continúe. |
Control the sessionControlar la sesión
| KeyTecla | What it doesQué hace |
| Esc | Interrupt the AI in the middle of a turn so you can redirect it, or close an open dialog. The work done so far is kept.Interrumpir al AI a mitad de un turno para darle otra dirección, o cerrar un diálogo abierto. Lo que ya hizo se conserva. |
| Esc Esc | With text in the prompt, clear the draft and save it to history, so ↑ brings it back. On an empty prompt, open the rewind menu to restore or summarize the code and the conversation from an earlier point.Con texto en el prompt, borrar el borrador y guardarlo en el historial, para que ↑ lo recupere. Con el prompt vacío, abrir el menú para retroceder y restaurar o resumir el código y la conversación desde un punto anterior. |
| Ctrl + C | Interrupt a running operation. If nothing is running, the first press clears the prompt and a second press closes Claude Code. In the Studio on Windows, with text selected, it copies instead; Ctrl + Shift + C always copies.Interrumpir una operación en curso. Si no hay nada en curso, la primera pulsación borra el prompt y la segunda cierra Claude Code. En el Studio en Windows, con texto seleccionado, copia en su lugar; Ctrl + Shift + C siempre copia. |
| Ctrl + D | Close the session. The first press shows a hint and a second press within 800 ms closes it. With text in the prompt, it deletes the character after the cursor instead.Cerrar la sesión. La primera pulsación muestra un aviso y una segunda dentro de 800 ms la cierra. Con texto en el prompt, en cambio, borra el carácter que está después del cursor. |
| Ctrl + L | Redraw the screen when it looks garbled. Your text and history are kept. In fullscreen rendering, pressing it twice within two seconds runs /clear.Redibujar la pantalla cuando se ve desordenada. Tu texto y tu historial se conservan. Con la vista de pantalla completa, pulsarlo dos veces en dos segundos ejecuta /clear. |
| Ctrl + G / Ctrl + X Ctrl + E | Open your prompt in your text editor, the practical way to write a long one. To include the AI's last reply as context, turn on Show last response in external editor in /config.Abrir tu prompt en tu editor de texto, la forma práctica de escribir uno largo. Para incluir la última respuesta del AI como contexto, activa Show last response in external editor en /config. |
| Ctrl + O | Show or hide the transcript viewer: each tool used, timestamps, the model of each message and the full MCP calls.Mostrar u ocultar el visor de la transcripción: cada herramienta usada, la hora, el modelo de cada mensaje y las llamadas MCP completas. |
| Ctrl + S | Set the prompt aside and clear it. Press it again on an empty prompt to bring back the text, the cursor position and any pasted content.Apartar el prompt y dejarlo vacío. Púlsalo otra vez con el prompt vacío para recuperar el texto, la posición del cursor y lo que hayas pegado. |
| Ctrl + T | Show or hide the AI's task checklist, up to five items at a time. For background tasks, use /tasks instead.Mostrar u ocultar la lista de tareas del AI, hasta cinco a la vez. Para las tareas en segundo plano, usa /tasks. |
| Ctrl + V / Cmd + V / Alt + V | In the Studio, paste text from the clipboard. To give the AI an image, drag the file onto the terminal in the Studio desktop app. Pasting an image only works when you run Claude Code in your own terminal app: an [Image #N] chip appears at the cursor so you can refer to it. Cmd + V is for iTerm2, and Alt + V for Windows and WSL.En el Studio, pegar texto del portapapeles. Para darle una imagen al AI, arrastra el archivo a la terminal en la app de escritorio del Studio. Pegar una imagen solo funciona cuando usas Claude Code en tu propia app de terminal: aparece una etiqueta [Image #N] en el cursor para que puedas referirte a ella. Cmd + V es para iTerm2, y Alt + V para Windows y WSL. |
| Alt + P / Option + P | Open the model picker without clearing your prompt. In the Studio on a Mac, use /model instead.Abrir el selector de modelo sin borrar tu prompt. En el Studio en una Mac, usa /model. |
| Alt + T / Option + T | Turn extended thinking on or off. It has no effect on Fable 5, which always uses it. In the Studio on a Mac, use /config instead.Activar o desactivar el razonamiento extendido. No tiene efecto en Fable 5, que siempre lo usa. En el Studio en una Mac, usa /config. |
| Alt + O / Option + O | Turn fast mode on or off. In the Studio on a Mac, use /fast instead.Activar o desactivar el modo rápido. En el Studio en una Mac, usa /fast. |
| ← / → | Move between the tabs of permission dialogs and menus.Moverte entre las pestañas de los diálogos de permisos y de los menús. |
| Ctrl + B AdvancedAvanzado | Send the running command or agent to the background. In tmux, press it twice, or use Ctrl + X Ctrl + B.Enviar el comando o el agente en curso a segundo plano. En tmux, púlsalo dos veces, o usa Ctrl + X Ctrl + B. |
| Ctrl + X Ctrl + K AdvancedAvanzado | Stop every background subagent of this session. Press it twice within 3 seconds to confirm.Detener todos los subagentes en segundo plano de esta sesión. Púlsalo dos veces en 3 segundos para confirmar. |
| Ctrl + Z AdvancedAvanzado | In your own terminal app on macOS and Linux, suspend Claude Code and return to the shell. Type fg to resume it. Not in the Studio.En tu propia app de terminal en macOS y Linux, suspender Claude Code y volver al shell. Escribe fg para reanudarlo. No en el Studio. |
| ← AdvancedAvanzado | On an empty prompt, open the agent view with background sessions and subagents.Con el prompt vacío, abrir la vista de agentes con las sesiones en segundo plano y los subagentes. |
Earlier promptsPrompts anteriores
| KeyTecla | What it doesQué hace |
| ↑ / ↓, Ctrl + P / Ctrl + N | Move the cursor inside a long prompt. On the first or last row, another press steps through your earlier prompts.Mover el cursor dentro de un prompt largo. En la primera o la última fila, otra pulsación recorre tus prompts anteriores. |
| Ctrl + R | Search your earlier prompts. Type to filter, and press Ctrl + R again for older matches.Buscar en tus prompts anteriores. Escribe para filtrar y pulsa Ctrl + R otra vez para ver coincidencias más antiguas. |
| Tab / Esc | In the search, accept the match and keep editing.En la búsqueda, aceptar la coincidencia y seguir editando. |
| Enter | In the search, accept the match and send it right away.En la búsqueda, aceptar la coincidencia y enviarla de inmediato. |
| Ctrl + C / Backspace | In an empty search, cancel it and restore your original text.Con la búsqueda vacía, cancelarla y recuperar tu texto original. |
| Ctrl + S AdvancedAvanzado | In the search, with fullscreen rendering, switch the scope: this session, this project or all projects.En la búsqueda, con la vista de pantalla completa, cambiar el alcance: esta sesión, este proyecto o todos los proyectos. |
History is kept per project folder. After /clear, prompts from earlier sessions still appear after the new ones. Sending the same prompt twice keeps one entry.El historial se guarda por carpeta de proyecto. Después de /clear, los prompts de sesiones anteriores siguen apareciendo después de los nuevos. Enviar el mismo prompt dos veces guarda una sola entrada.
Edit the text in the promptEditar el texto del prompt
These are the usual terminal editing keys.Son las teclas de edición habituales de una terminal.
| KeyTecla | What it doesQué hace |
| Ctrl + A | Move the cursor to the start of the line.Llevar el cursor al inicio de la línea. |
| Ctrl + E | Move the cursor to the end of the line.Llevar el cursor al final de la línea. |
| Ctrl + K | Delete to the end of the line and keep the text for pasting.Borrar hasta el final de la línea y guardar el texto para pegarlo. |
| Ctrl + U | Delete from the cursor to the start of the line. On a Mac, Cmd + Backspace does the same.Borrar desde el cursor hasta el inicio de la línea. En una Mac, Cmd + Backspace hace lo mismo. |
| Ctrl + W | Delete the previous word. Option + Delete on a Mac and Ctrl + Backspace on Windows do the same.Borrar la palabra anterior. Option + Delete en una Mac y Ctrl + Backspace en Windows hacen lo mismo. |
| Ctrl + Y | Paste the text you deleted with Ctrl + K, Ctrl + U or Ctrl + W.Pegar el texto que borraste con Ctrl + K, Ctrl + U o Ctrl + W. |
| Ctrl + _ / Ctrl + Shift + - | Undo the last edit and restore the previous text and cursor position.Deshacer el último cambio y recuperar el texto y la posición del cursor anteriores. |
| Alt + Y AdvancedAvanzado | Right after Ctrl + Y, cycle through text you deleted earlier.Justo después de Ctrl + Y, recorrer el texto que borraste antes. |
| Alt + B AdvancedAvanzado | Move the cursor back one word.Mover el cursor una palabra hacia atrás. |
| Alt + F AdvancedAvanzado | Move the cursor forward one word.Mover el cursor una palabra hacia adelante. |
Write on several linesEscribir en varias líneas
Enter sends your message. To start a new line instead, use one of these keys.Enter envía tu mensaje. Para empezar una línea nueva, usa una de estas teclas.
| KeyTecla | Where it worksDónde funciona |
| \ + Enter | In every terminal.En cualquier terminal. |
| Ctrl + J | In any terminal, with no setup.En cualquier terminal, sin configurar nada. |
| Shift + Enter | Out of the box in iTerm2, WezTerm, Ghostty, Kitty, Warp, Apple Terminal and Windows Terminal. In VS Code, Cursor, Alacritty or Zed, run /terminal-setup first. In the Studio it sends the message, so use one of the other keys.Sin configurar en iTerm2, WezTerm, Ghostty, Kitty, Warp, Apple Terminal y Windows Terminal. En VS Code, Cursor, Alacritty o Zed, ejecuta /terminal-setup primero. En el Studio envía el mensaje, así que usa otra de estas teclas. |
| Option + Enter | In the Studio on a Mac, with no setup. In your own terminal app on a Mac, once Option works as the Meta key. See Mac, Windows and terminal differences.En el Studio en una Mac, sin configurar nada. En tu propia app de terminal en una Mac, cuando Option funciona como tecla Meta. Mira Diferencias entre Mac, Windows y terminales. |
For a long block of text, such as code or a log, paste it directly.Para un bloque largo de texto, como código o un log, pégalo directamente.
Symbols you type in a messageSímbolos que escribes en un mensaje
| SymbolSímbolo | What it doesQué hace |
/ | At the start of the prompt, open the command and skill menu. Type letters to filter. You can chain up to six skills, for example /skill-a /skill-b do XYZ. See Claude Code commands.Al inicio del prompt, abrir el menú de comandos y skills. Escribe letras para filtrar. Puedes encadenar hasta seis skills, por ejemplo /skill-a /skill-b haz XYZ. Mira Comandos de Claude Code. |
@ | Mention a file, with autocomplete.Mencionar un archivo, con autocompletado. |
: | Insert an emoji. Type a full :name:, or two or more letters to see suggestions. Needs version 2.1.217 or later.Insertar un emoji. Escribe un :nombre: completo, o dos letras o más para ver sugerencias. Requiere la versión 2.1.217 o posterior. |
| ? | On an empty prompt, show or hide the shortcut help. With text in the prompt, it just types a ?.Con el prompt vacío, mostrar u ocultar la ayuda de atajos. Con texto en el prompt, solo escribe un ?. |
! AdvancedAvanzado | At the start of the prompt, shell mode: run a system command, add its output to the conversation and let the AI respond to it. Leave it with Esc, Backspace or Ctrl + U on an empty prompt.Al inicio del prompt, modo shell: ejecutar un comando del sistema, sumar su salida a la conversación y dejar que el AI responda. Sal con Esc, Backspace o Ctrl + U con el prompt vacío. |
Autocomplete and suggestionsAutocompletado y sugerencias
| KeyTecla | What it doesQué hace |
| Tab | Accept the highlighted suggestion, or the suggested prompt shown in gray.Aceptar la sugerencia resaltada, o el prompt sugerido que aparece en gris. |
| → | Accept the suggested prompt shown in gray.Aceptar el prompt sugerido que aparece en gris. |
| ↑ / ↓ | Move through the options.Recorrer las opciones. |
| Esc | Close the suggestion menu.Cerrar el menú de sugerencias. |
The transcript viewerEl visor de la transcripción
Ctrl + O opens a detailed view of everything the AI did. Inside it:Ctrl + O abre una vista detallada de todo lo que hizo el AI. Dentro de ella:
| KeyTecla | What it doesQué hace |
| q / Ctrl + C / Esc | Leave the transcript viewer.Salir del visor de la transcripción. |
| ? | Show or hide its shortcut help. Fullscreen rendering only.Mostrar u ocultar su ayuda de atajos. Solo con la vista de pantalla completa. |
| { / } | Jump to your previous or next prompt. Fullscreen rendering only.Saltar a tu prompt anterior o siguiente. Solo con la vista de pantalla completa. |
More transcript viewer keysMás teclas del visor de la transcripción AdvancedAvanzado
| KeyTecla | What it doesQué hace |
| Ctrl + E AdvancedAvanzado | Show all content or the short view. Classic rendering only.Mostrar todo el contenido o la vista corta. Solo con la vista clásica. |
| [ AdvancedAvanzado | Write the whole conversation to the terminal's own scrollback, so Cmd + F or tmux copy mode can search it. Fullscreen rendering only.Escribir toda la conversación en el historial propio de la terminal, para buscarla con Cmd + F o el modo copia de tmux. Solo con la vista de pantalla completa. |
| v AdvancedAvanzado | Write the conversation to a temporary file and open it in $VISUAL or $EDITOR. Fullscreen rendering only.Escribir la conversación en un archivo temporal y abrirlo en $VISUAL o $EDITOR. Solo con la vista de pantalla completa. |
Voice inputEntrada por voz
Hold Space to dictate and release it to stop. Turn dictation on first with /voice. If you prefer to tap once to start and again to stop, run /voice tap.Mantén pulsada Space para dictar y suéltala para parar. Activa primero el dictado con /voice. Si prefieres tocar una vez para empezar y otra para parar, ejecuta /voice tap.
Dialogs, pickers and listsDiálogos, selectores y listas
Permission and confirmation dialogsDiálogos de permisos y de confirmación
| KeyTecla | What it doesQué hace |
| Y / Enter | Confirm the action.Confirmar la acción. |
| N / Esc | Decline the action.Rechazar la acción. |
| ↑ / ↓ | Move between the options.Moverte entre las opciones. |
| Tab | Go to the next field.Ir al siguiente campo. |
| Space | Select or clear an option.Marcar o desmarcar una opción. |
| Shift + Tab | Change the permission mode from inside the dialog.Cambiar el modo de permisos desde el diálogo. |
| Ctrl + E AdvancedAvanzado | On a Bash or PowerShell prompt, show or hide an explanation of the command written by the model.En una solicitud de Bash o PowerShell, mostrar u ocultar una explicación del comando escrita por el modelo. |
Lists of optionsListas de opciones
| KeyTecla | What it doesQué hace |
| ↓ / J / Ctrl + N | Next option.Opción siguiente. |
| ↑ / K / Ctrl + P | Previous option.Opción anterior. |
| Enter | Accept the selection.Aceptar la selección. |
| Esc | Cancel.Cancelar. |
Model pickerSelector de modelo
Open it with /model or Alt + P.Ábrelo con /model o Alt + P.
| KeyTecla | What it doesQué hace |
| ← / → | Lower or raise the effort level.Bajar o subir el nivel de esfuerzo. |
| s | Use the highlighted model in this session only.Usar el modelo resaltado solo en esta sesión. |
Rewind and summarizeRetroceder y resumir
Open it with Esc Esc on an empty prompt.Ábrelo con Esc Esc con el prompt vacío.
| KeyTecla | What it doesQué hace |
| ↑ / K / Ctrl + P | Move up the message list.Subir por la lista de mensajes. |
| ↓ / J / Ctrl + N | Move down the message list.Bajar por la lista de mensajes. |
| Ctrl + ↑ / Shift + ↑ / Shift + K | Jump to the top.Saltar al principio. |
| Ctrl + ↓ / Shift + ↓ / Shift + J | Jump to the bottom.Saltar al final. |
| Enter | Choose the message to go back to or summarize from.Elegir el mensaje al que volver o desde el que resumir. |
SettingsAjustes
Open them with /config.Ábrelos con /config.
| KeyTecla | What it doesQué hace |
| / | Search the settings.Buscar en los ajustes. |
| Enter / Space | Change the selected setting or open its submenu.Cambiar el ajuste seleccionado o abrir su submenú. |
| Esc | Close the panel. Your changes are already saved.Cerrar el panel. Tus cambios ya están guardados. |
| R | Load the usage data again after an error.Volver a cargar los datos de uso después de un error. |
The footer can show tasks, teams, the diff and artifact links.El pie puede mostrar tareas, equipos, el diff y enlaces a artifacts.
| KeyTecla | What it doesQué hace |
| ← / → | Previous or next item.Elemento anterior o siguiente. |
| ↑ / ↓ | Move up or down. Going up from the top clears the selection.Subir o bajar. Subir desde el primero quita la selección. |
| Enter | Open the selected item.Abrir el elemento seleccionado. |
| Esc | Clear the selection.Quitar la selección. |
| Backspace / Delete | Remove the selected artifact link from the footer. The artifact itself is not affected.Quitar del pie el enlace al artifact seleccionado. El artifact en sí no se ve afectado. |
Attached imagesImágenes adjuntas
| KeyTecla | What it doesQué hace |
| ← / → | Previous or next image.Imagen anterior o siguiente. |
| Backspace / Delete | Remove the selected image.Quitar la imagen seleccionada. |
| ↓ / Esc | Stop moving between images.Dejar de moverte entre las imágenes. |
Side questionsPreguntas al margen
These work on the answer to a side question asked with /btw.Funcionan sobre la respuesta a una pregunta al margen hecha con /btw.
| KeyTecla | What it doesQué hace |
| Space / Enter / Esc | Close the answer and return to the prompt.Cerrar la respuesta y volver al prompt. |
| ↑ / ↓ | Scroll the answer.Desplazar la respuesta. |
| ← / → | Move between this answer and earlier /btw answers of the session.Moverte entre esta respuesta y las respuestas anteriores de /btw en la sesión. |
| c | Copy the answer as Markdown.Copiar la respuesta como Markdown. |
| f | Turn the side question into a new session that can use every tool.Convertir la pregunta al margen en una sesión nueva que puede usar todas las herramientas. |
| x | Clear the list of earlier /btw answers.Borrar la lista de respuestas anteriores de /btw. |
Theme and pluginsTema y plugins
| KeyTecla | What it doesQué hace |
| Ctrl + T | In /theme, turn syntax highlighting of code blocks on or off. It works only inside the theme picker.En /theme, activar o desactivar el resaltado de sintaxis de los bloques de código. Solo funciona dentro del selector de tema. |
| Space | In /plugin, select or clear a plugin.En /plugin, marcar o desmarcar un plugin. |
| I | In /plugin, install the selected plugins.En /plugin, instalar los plugins seleccionados. |
| F | In /plugin, mark a plugin as a favorite so it appears near the top of the Installed tab.En /plugin, marcar un plugin como favorito para que aparezca cerca del inicio de la pestaña Installed. |
Diff viewer keysTeclas del visor de diferencias AdvancedAvanzado
Open it with /diff.Ábrelo con /diff.
| KeyTecla | What it doesQué hace |
| ← / → AdvancedAvanzado | Previous or next source of changes: the git diff or each turn of the AI.Fuente de cambios anterior o siguiente: el diff de git o cada turno del AI. |
| ↑ / K, ↓ / J AdvancedAvanzado | Previous or next file in the list. In the detail view, scroll one line.Archivo anterior o siguiente de la lista. En la vista de detalle, desplazar una línea. |
| Enter AdvancedAvanzado | Open the details of a diff.Abrir el detalle de un diff. |
| Esc AdvancedAvanzado | Close the viewer, or go back from the detail view to the file list.Cerrar el visor, o volver de la vista de detalle a la lista de archivos. |
| PageUp / PageDown AdvancedAvanzado | In the detail view, scroll half a screen.En la vista de detalle, desplazar media pantalla. |
| Shift + Space / B, Space AdvancedAvanzado | Scroll a full screen up or down.Desplazar una pantalla completa hacia arriba o hacia abajo. |
| G / Home, Shift + G / End AdvancedAvanzado | Jump to the top or the bottom.Saltar al principio o al final. |
These need fullscreen rendering. Check whether it is on with /tui, and turn it on with /tui fullscreen.Requieren la vista de pantalla completa. Revisa si está activa con /tui y actívala con /tui fullscreen.
| KeyTecla | What it doesQué hace |
| Scroll wheelRueda de desplazamiento | Scroll line by line. Change the speed with /scroll-speed.Desplazarte línea por línea. Cambia la velocidad con /scroll-speed. |
| PageUp / PageDown | Scroll half a screen.Desplazarte media pantalla. |
| Ctrl + Home | Jump to the start of the conversation.Saltar al inicio de la conversación. |
| Ctrl + End | Jump to the latest message and follow new ones again.Saltar al último mensaje y volver a seguir los nuevos. |
| Ctrl + Shift + C / Cmd + C | Copy the selected text.Copiar el texto seleccionado. |
| Shift + ← / Shift + → | Extend the selection one character.Ampliar la selección un carácter. |
| Shift + ↑ / Shift + ↓ | Extend the selection one row, scrolling at the edges.Ampliar la selección una fila, desplazando en los bordes. |
| Shift + Home / Shift + End | Extend the selection to the start or end of the line.Ampliar la selección hasta el inicio o el final de la línea. |
| Pointer and clickPuntero y clic | Highlight and accept a row in the / command and @ file suggestion lists.Resaltar y aceptar una fila en las listas de sugerencias de comandos / y de archivos @. |
Vim editor modeModo de edición Vim AdvancedAvanzado
For people used to the Vim editor. Turn it on in /config under Editor mode. The old /vim command was removed in version 2.1.92.Para quienes conocen el editor Vim. Actívalo en /config, en Editor mode. El antiguo comando /vim se eliminó en la versión 2.1.92.
All Vim mode keysTodas las teclas del modo Vim AdvancedAvanzado
Switch modesCambiar de modo
| KeyTecla | What it doesQué hace |
| Esc AdvancedAvanzado | Enter NORMAL mode, from INSERT or VISUAL.Entrar en modo NORMAL, desde INSERT o VISUAL. |
| i / I AdvancedAvanzado | Insert before the cursor, or at the start of the line. From NORMAL.Insertar antes del cursor, o al inicio de la línea. Desde NORMAL. |
| a / A AdvancedAvanzado | Insert after the cursor, or at the end of the line. From NORMAL.Insertar después del cursor, o al final de la línea. Desde NORMAL. |
| o / O AdvancedAvanzado | Open a line below or above. From NORMAL.Abrir una línea debajo o encima. Desde NORMAL. |
| v / V AdvancedAvanzado | Start a visual selection by character or by line. From NORMAL.Empezar una selección visual por carácter o por línea. Desde NORMAL. |
To map a two-key INSERT sequence such as jj to Escape, set vimInsertModeRemaps in ~/.claude/settings.json. It needs version 2.1.208 or later. Only user and managed settings are read, so a project you open cannot remap your keys.Para asignar una secuencia de dos teclas en INSERT, como jj, a Escape, define vimInsertModeRemaps en ~/.claude/settings.json. Requiere la versión 2.1.208 o posterior. Solo se leen los ajustes de usuario y los administrados, así que un proyecto que abras no puede reasignar tus teclas.
{
"editorMode": "vim",
"vimInsertModeRemaps": { "jj": "<Esc>" }
}
Move around (NORMAL)Moverte (NORMAL)
| KeyTecla | What it doesQué hace |
| h / j / k / l | Move left, down, up or right.Mover a la izquierda, abajo, arriba o a la derecha. |
| Space | Move right.Mover a la derecha. |
| w / e / b | Next word, end of word, previous word.Palabra siguiente, final de palabra, palabra anterior. |
| 0 / $ / ^ | Start of line, end of line, first character that is not a space.Inicio de línea, final de línea, primer carácter que no es un espacio. |
| gg / G | Start or end of the input.Inicio o final del texto. |
| f{char} / F{char} | Jump to the next or previous occurrence of a character.Saltar a la siguiente o la anterior aparición de un carácter. |
| t{char} / T{char} | Jump to just before the next, or just after the previous, occurrence.Saltar justo antes de la siguiente aparición, o justo después de la anterior. |
| ; / , | Repeat the last f, F, t or T jump, forward or in reverse.Repetir el último salto con f, F, t o T, hacia adelante o en sentido inverso. |
| / | Search earlier prompts, like Ctrl + R.Buscar en los prompts anteriores, como Ctrl + R. |
| ? | Show the help menu.Mostrar el menú de ayuda. |
At the start or end of the input, j / k and ↑ / ↓ move through earlier prompts instead.Al inicio o al final del texto, j / k y ↑ / ↓ recorren en cambio los prompts anteriores.
Edit (NORMAL)Editar (NORMAL)
| KeyTecla | What it doesQué hace |
| x | Delete a character.Borrar un carácter. |
| dd / D | Delete the line, or to the end of the line.Borrar la línea, o hasta el final de la línea. |
| dw / de / db | Delete a word, to the end of it, or backward.Borrar una palabra, hasta su final, o hacia atrás. |
| cc / C | Change the line, or to the end of the line.Cambiar la línea, o hasta el final de la línea. |
| cw / ce / cb | Change a word, to the end of it, or backward.Cambiar una palabra, hasta su final, o hacia atrás. |
| s / S | Replace a character or the line, then enter INSERT. Version 2.1.211 or later.Reemplazar un carácter o la línea y entrar en INSERT. Versión 2.1.211 o posterior. |
| yy / Y | Copy the line.Copiar la línea. |
| yw / ye / yb | Copy a word, to the end of it, or backward.Copiar una palabra, hasta su final, o hacia atrás. |
| p / P | Paste after or before the cursor.Pegar después o antes del cursor. |
| >> / << | Indent or unindent the line.Aumentar o reducir la sangría de la línea. |
| J | Join lines.Unir líneas. |
| u | Undo.Deshacer. |
| . | Repeat the last change.Repetir el último cambio. |
Text objects (NORMAL)Objetos de texto (NORMAL)
Use them after d, c or y.Úsalos después de d, c o y.
| KeyTecla | What it coversQué abarca |
| iw / aw | Inside or around a word.Dentro o alrededor de una palabra. |
| iW / aW | Inside or around a WORD, delimited by spaces.Dentro o alrededor de una PALABRA, delimitada por espacios. |
| i" / a" | Inside or around double quotes.Dentro o alrededor de comillas dobles. |
| i' / a' | Inside or around single quotes.Dentro o alrededor de comillas simples. |
| i( / a( | Inside or around parentheses.Dentro o alrededor de paréntesis. |
| i[ / a[ | Inside or around square brackets.Dentro o alrededor de corchetes. |
| i{ / a{ | Inside or around curly braces.Dentro o alrededor de llaves. |
Visual modeModo visual
| KeyTecla | What it doesQué hace |
| d / x | Delete the selection.Borrar la selección. |
| y | Copy the selection.Copiar la selección. |
| c / s | Change the selection.Cambiar la selección. |
| p | Replace the selection with the copied text.Reemplazar la selección con el texto copiado. |
| r{char} | Replace every selected character with that one.Reemplazar cada carácter seleccionado por ese. |
| ~ / u / U | Swap case, make lowercase or make uppercase.Invertir mayúsculas y minúsculas, pasar a minúsculas o pasar a mayúsculas. |
| > / < | Indent or unindent the selected lines.Aumentar o reducir la sangría de las líneas seleccionadas. |
| J | Join the selected lines.Unir las líneas seleccionadas. |
| o | Swap the cursor and the other end of the selection.Intercambiar el cursor y el otro extremo de la selección. |
| v / V | Switch between selecting by character and by line, or leave visual mode.Alternar entre seleccionar por carácter y por línea, o salir del modo visual. |
Block selection with Ctrl + V is not supported.La selección en bloque con Ctrl + V no está disponible.
- Mac: the Alt shortcuts (Alt + B, Alt + F, Alt + Y, Alt + P) need Option set as the Meta key. In the Studio, Option types a symbol instead, so use the command where there is one:
/model, /fast or /config. The steps below are for your own terminal app.Mac: los atajos con Alt (Alt + B, Alt + F, Alt + Y, Alt + P) necesitan que Option funcione como tecla Meta. En el Studio, Option escribe un símbolo, así que usa el comando cuando exista: /model, /fast o /config. Los pasos de abajo son para tu propia app de terminal.
- Mac, in your own terminal app: in iTerm2, go to Settings > Profiles > Keys > General and set the Left and Right Option keys to Esc+. In Apple Terminal, go to Settings > Profiles > Keyboard and check Use Option as Meta Key. In VS Code, set
"terminal.integrated.macOptionIsMeta": true.Mac, en tu propia aplicación de terminal: en iTerm2, ve a Settings > Profiles > Keys > General y pon las teclas Option izquierda y derecha en Esc+. En Apple Terminal, ve a Settings > Profiles > Keyboard y marca Use Option as Meta Key. En VS Code, define "terminal.integrated.macOptionIsMeta": true.
- Windows: if Shift + Tab does not change the mode, use Alt + M.Windows: si Shift + Tab no cambia el modo, usa Alt + M.
- WSL: both Ctrl + V and Alt + V paste an image. Use Alt + V if your terminal takes Ctrl + V for itself.WSL: tanto Ctrl + V como Alt + V pegan una imagen. Usa Alt + V si tu terminal se queda con Ctrl + V.
- tmux: Ctrl + B is the tmux prefix, so press it twice, or use Ctrl + X Ctrl + B.tmux: Ctrl + B es el prefijo de tmux, así que púlsalo dos veces, o usa Ctrl + X Ctrl + B.
Reserved keys and terminal conflictsTeclas reservadas y conflictos con la terminal
These keys cannot be changed:Estas teclas no se pueden cambiar:
| KeyTecla | WhyPor qué |
| Ctrl + C | Fixed to interrupt and cancel.Fija para interrumpir y cancelar. |
| Ctrl + D | Fixed to close the session.Fija para cerrar la sesión. |
| Ctrl + M | Terminals treat it as Enter: both send the same signal.Las terminales lo tratan como Enter: ambos envían la misma señal. |
| Caps Lock | Terminal programs never receive it.Los programas de terminal nunca la reciben. |
Watch for these conflicts:Ten en cuenta estos conflictos:
| KeyTecla | ConflictConflicto |
| Ctrl + B | The tmux prefix. Press it twice, or use Ctrl + X Ctrl + B.El prefijo de tmux. Púlsalo dos veces, o usa Ctrl + X Ctrl + B. |
| Ctrl + A | The GNU screen prefix.El prefijo de GNU screen. |
| Ctrl + Z | Suspends the process on macOS and Linux, in your own terminal app. The Studio has no shell behind Claude Code to return to.Suspende el proceso en macOS y Linux, en tu propia app de terminal. En el Studio no hay una terminal detrás de Claude Code a la que volver. |
Customize your shortcutsPersonalizar tus atajos AdvancedAvanzado
Run /keybindings to create or open ~/.claude/keybindings.json. Changes apply without restarting.Ejecuta /keybindings para crear o abrir ~/.claude/keybindings.json. Los cambios se aplican sin reiniciar.
How the keybindings file worksCómo funciona el archivo de atajos AdvancedAvanzado
{
"$schema": "https://www.schemastore.org/claude-code-keybindings.json",
"bindings": [
{
"context": "Chat",
"bindings": {
"ctrl+e": "chat:externalEditor",
"ctrl+u": null
}
}
]
}
- Contexts limit where a binding works:
Global, Chat, Autocomplete, Settings, Confirmation, Tabs, Help, Transcript, HistorySearch, Task, ThemePicker, Attachments, Footer, MessageSelector, DiffDialog, ModelPicker, Select, Plugin, Scroll.Los contextos limitan dónde funciona un atajo: Global, Chat, Autocomplete, Settings, Confirmation, Tabs, Help, Transcript, HistorySearch, Task, ThemePicker, Attachments, Footer, MessageSelector, DiffDialog, ModelPicker, Select, Plugin, Scroll.
- Actions use the form
namespace:action, for example chat:submit, app:toggleTodos or chat:externalEditor.Las acciones usan la forma namespace:action, por ejemplo chat:submit, app:toggleTodos o chat:externalEditor.
- Modifiers join with
+: ctrl, shift, alt (also opt, option, meta) and cmd (also command, super, win). Most terminals do not report cmd, so prefer ctrl or meta for bindings that must work everywhere.Los modificadores se unen con +: ctrl, shift, alt (también opt, option, meta) y cmd (también command, super, win). La mayoría de las terminales no informan cmd, así que prefiere ctrl o meta para atajos que deben funcionar en todas partes.
- Special keys:
escape, enter, tab, space, up, down, left, right, backspace, delete.Teclas especiales: escape, enter, tab, space, up, down, left, right, backspace, delete.
- Chords are keystrokes separated by spaces, for example
ctrl+k ctrl+s.Las combinaciones en secuencia son pulsaciones separadas por espacios, por ejemplo ctrl+k ctrl+s.
- Uppercase letters imply Shift on their own (
K equals shift+k), but not with a modifier (ctrl+K equals ctrl+k).Las mayúsculas implican Shift por sí solas (K equivale a shift+k), pero no con un modificador (ctrl+K equivale a ctrl+k).
- To unbind a default, set its action to
null.Para quitar un atajo por defecto, define su acción como null.
Vim keys cannot be changed in this file. Use vimInsertModeRemaps in settings.json instead. Start Claude Code with --debug to see warnings about invalid bindings.Las teclas de Vim no se cambian en este archivo. Usa vimInsertModeRemaps en settings.json. Inicia Claude Code con --debug para ver los avisos sobre atajos no válidos.
Good to knowPara tener en cuenta
- ? is the source of truth. Press it on an empty prompt to see the keys that match your version and your terminal. In the transcript viewer with fullscreen rendering, ? shows its own list.? es la referencia confiable. Púlsalo con el prompt vacío para ver las teclas que corresponden a tu versión y tu terminal. En el visor de la transcripción con la vista de pantalla completa, ? muestra su propia lista.
- Ctrl + G opens your text editor. It hands your current prompt, or a proposed plan, to your editor. It is the practical way to write a long prompt.Ctrl + G abre tu editor de texto. Le pasa tu prompt actual, o un plan propuesto, a tu editor. Es la forma práctica de escribir un prompt largo.
- Fullscreen rendering unlocks extras. Scrolling with the mouse, selecting text, { and } in the transcript and the search scopes all need it. Turn it on with
/tui fullscreen.La vista de pantalla completa habilita funciones extra. Desplazarte con el mouse, seleccionar texto, { y } en la transcripción y los alcances de búsqueda la necesitan. Actívala con /tui fullscreen.
- For a new line in the Studio, Shift + Enter sends the message. Use Ctrl + J or \ + Enter, which work everywhere.Para un salto de línea en el Studio, Shift + Enter envía el mensaje. Usa Ctrl + J o \ + Enter, que funcionan en todas partes.
- For commands that start with
/, see Claude Code commands.Para los comandos que empiezan con /, mira Comandos de Claude Code.