ComdTeX

Atajos de teclado

Esta página reúne todos los atajos de teclado de ComdTeX, agrupados por área. Puedes abrir esta misma referencia dentro de la app en cualquier momento pulsando ? (fuera de un campo de texto).

Desde la 1.30.0 los atajos de la paleta siguen la convención de VS Code: Ctrl+P va a un archivo, Ctrl+Shift+P abre los comandos, y el alternar de la vista previa pasó de Ctrl+Shift+P a Ctrl+Alt+P. Si una guía antigua, un video o tu costumbre dice “Ctrl+P para comandos”, ahora es Ctrl+Shift+P.

Archivos y pestañas

AtajoAcción
Ctrl+SGuardar archivo actual
Ctrl+Shift+SGuardar como
Ctrl+OAbrir vault
Ctrl+Tab / Ctrl+Shift+TabPestaña siguiente / anterior
Ctrl+WCerrar pestaña
Ctrl+Shift+TReabrir la última pestaña cerrada
Ctrl+Shift+BMostrar marcadores
Ctrl+Shift+1…9Fijar/quitar marcador en la ranura N
Ctrl+Alt+1…9Saltar al marcador de la ranura N
Ctrl+Shift+DAbrir o crear la nota diaria de hoy
F2Renombrar el archivo o carpeta seleccionados en el árbol de archivos (en línea)

Paleta, búsqueda y navegación

AtajoAcción
Ctrl+P o Ctrl+;Ir a un archivo (la paleta en modo archivos)
Ctrl+Shift+P o F1Comandos (la paleta en modo comandos)
Alt+PEn la paleta: fijar o desfijar el comando seleccionado
Alt+EnterEn el modo # de la paleta: insertar una referencia a la etiqueta seleccionada
Ctrl+FBuscar en el archivo
Ctrl+Shift+FBuscar en todo el vault
Ctrl+DSeleccionar siguiente ocurrencia
Alt+Left / Alt+RightNavegar hacia atrás / adelante (los saltos a otra nota entran en este historial)

La paleta tiene más modos que estos dos, que se cambian con un prefijo escrito en la caja. Ver Paleta de comandos e ir a un archivo.

AtajoAcción
Ctrl+clic o F12Ir a la definición: abre la nota detrás de [[nota]], salta a la etiqueta detrás de @thm:x, abre references.bib en la entrada detrás de [@clave]
Shift+F12Buscar usos de una etiqueta, una clave de cita o una nota en todo el vault
Ctrl+.Corrección rápida para el aviso bajo el cursor (la bombilla)
Ctrl+SpaceAbrir sugerencias a demanda; sobre una sugerencia de referencia, previsualizarla

Se explican en El editor.

Vista

AtajoAcción
Ctrl+Alt+PAlternar vista previa
Ctrl++ / Ctrl+-Acercar / alejar zoom
Ctrl+0Restablecer zoom
Ctrl+Shift+EAlternar panel de esquema (Outline)
Ctrl+Shift+OInsertar tabla de contenidos ([[toc]])
F11Modo enfoque
EscapeSalir del modo enfoque

Mientras la paleta o un diálogo están abiertos, los atajos globales no se interponen: Escape lo cierra en vez de salir del modo enfoque, y solo Ctrl+P, Ctrl+Shift+P y F1 siguen funcionando, para cambiar el modo de la paleta.

Edición

AtajoAcción
TabExpandir shorthand / avanzar al siguiente placeholder del snippet
Ctrl+B / Ctrl+INegrita / cursiva
Ctrl+Shift+MAñadir un comentario a la línea actual
[[Autocompletar wikilink

Tab y los caracteres disparadores son el corazón de escribir rápido en ComdTeX:

  • Tab para expandir shorthands: escribe algo como frac(1, n+1) y pulsa Tab; se convierte en \frac{1}{n+1}. Funciona dentro de $...$ y también fuera, envolviéndose automáticamente al renderizar. Los shorthands admiten anidamiento: frac(sqrt(x), abs(y-1)) se expande a \frac{\sqrt{x}}{\left|y-1\right|}.
  • Caracteres disparadores: [[, [@, @thm:, [^, {# y \ abren sugerencias en cuanto los escribes. Cada uno se describe en El editor.

IA

AtajoAcción
Ctrl+Shift+AAbrir el panel del asistente de IA
Ctrl+KEdición inline con IA (se aplica a la selección o en el cursor)

Recuerda que el asistente de IA es opcional y viene desactivado por defecto: estos atajos no hacen nada hasta que configuras tu propio proveedor en Configuración → Asistente de IA.

Escribir con AltGr

En Windows, los teclados español, alemán y francés reportan AltGr como Ctrl+Alt. ComdTeX trata un carácter tecleado como |, @, #, { o [ como texto y no como atajo, así que el salto a marcadores (Ctrl+Alt+1…9), Ctrl+Alt+P y Ctrl+; nunca se tragan lo que escribes. Una tecla de marcador sin nada guardado en esa ranura también se deja en paz.

Keyboard shortcuts

This page collects every ComdTeX keyboard shortcut, grouped by area. You can open this same reference inside the app at any time by pressing ? (outside a text field).

Since 1.30.0 the palette shortcuts follow the VS Code convention: Ctrl+P goes to a file, Ctrl+Shift+P opens the commands, and the preview toggle moved from Ctrl+Shift+P to Ctrl+Alt+P. If an older guide, video or habit says “Ctrl+P for commands”, it means Ctrl+Shift+P now.

Files and tabs

ShortcutAction
Ctrl+SSave current file
Ctrl+Shift+SSave as
Ctrl+OOpen vault
Ctrl+Tab / Ctrl+Shift+TabNext / previous tab
Ctrl+WClose tab
Ctrl+Shift+TReopen last closed tab
Ctrl+Shift+BShow bookmarks
Ctrl+Shift+1…9Set/clear bookmark in slot N
Ctrl+Alt+1…9Jump to bookmark slot N
Ctrl+Shift+DOpen or create today’s daily note
F2Rename the selected file or folder in the file tree (inline)

Palette, search and navigation

ShortcutAction
Ctrl+P or Ctrl+;Go to file (the palette in files mode)
Ctrl+Shift+P or F1Commands (the palette in commands mode)
Alt+PIn the palette: pin or unpin the selected command
Alt+EnterIn the # palette mode: insert a reference to the selected label
Ctrl+FFind in file
Ctrl+Shift+FSearch across vault
Ctrl+DSelect next occurrence
Alt+Left / Alt+RightNavigate back / forward (jumps to another note join this history)

The palette has more modes than these two, switched with a prefix typed in the box. See Command palette and go to file.

Code navigation in the editor

ShortcutAction
Ctrl+click or F12Go to definition: open the note behind [[note]], jump to the label behind @thm:x, open references.bib at the entry behind [@key]
Shift+F12Find usages of a label, a citation key or a note across the vault
Ctrl+.Quick fix for the warning under the cursor (the lightbulb)
Ctrl+SpaceOpen suggestions on demand; on a reference suggestion, preview it

These are explained in The editor.

View

ShortcutAction
Ctrl+Alt+PToggle preview
Ctrl++ / Ctrl+-Zoom in / out
Ctrl+0Reset zoom
Ctrl+Shift+EToggle Outline panel
Ctrl+Shift+OInsert table of contents ([[toc]])
F11Focus mode
EscapeExit focus mode

While the palette or any dialog is open, global shortcuts stay out of its way: Escape closes it instead of leaving focus mode, and only Ctrl+P, Ctrl+Shift+P and F1 keep working, to switch the palette’s mode.

Editing

ShortcutAction
TabExpand shorthand / advance snippet placeholder
Ctrl+B / Ctrl+IBold / italic
Ctrl+Shift+MAdd a comment to the current line
[[Autocomplete wikilink

Tab and the trigger characters are the heart of writing quickly in ComdTeX:

  • Tab to expand shorthands: type something like frac(1, n+1) and press Tab; it becomes \frac{1}{n+1}. It works inside $...$ and outside it too, auto-wrapping on render. Shorthands support nesting: frac(sqrt(x), abs(y-1)) expands to \frac{\sqrt{x}}{\left|y-1\right|}.
  • Trigger characters: [[, [@, @thm:, [^, {# and \ open suggestions the moment you type them. Each one is described in The editor.

AI

ShortcutAction
Ctrl+Shift+AOpen AI assistant panel
Ctrl+KAI inline edit (applies to selection or at cursor)

Keep in mind the AI assistant is optional and off by default: these shortcuts do nothing until you configure your own provider in Settings → AI assistant.

Typing with AltGr

On Windows, Spanish, German and French keyboards report AltGr as Ctrl+Alt. ComdTeX treats a typed character such as |, @, #, { or [ as text, not as a shortcut, so the bookmark jump (Ctrl+Alt+1…9), Ctrl+Alt+P and Ctrl+; never swallow what you type. A bookmark key with nothing saved in that slot is left alone as well.