# Custom keybindings > Add a "b = bring to front" shortcut on top of the default keymap without losing undo/redo or nudge. Source: https://docs.docmosaic.com/docs/examples/custom-keybindings `Editor.Root` ships a built-in keyboard layer - `mod+z` undo, arrow keys to nudge, `Delete` to remove, `Escape` to deselect. The `keybindings` prop accepts a `Partial` so you can register alternates without touching the defaults. This example adds a Figma-style `b` for "bring to front" while keeping every default binding active. ## Code ```tsx 'use client'; import { Editor, type EditorKeymap } from '@docmosaic/react'; import '@docmosaic/react/styles.css'; const myKeymap: Partial = { // Add Figma-style layer-order shortcuts. The defaults still apply for // anything not in this map. bringToFront: 'b', sendToBack: 'shift+b', // Extend delete with `x` - Delete and Backspace keep working. deleteSection: ['Delete', 'Backspace', 'x'], }; export default function CustomKeybindingsEditor() { return ( {/* Pass the same map so the help dialog reflects the active runtime. */} ); } ``` `mod` resolves to **Cmd on macOS, Ctrl elsewhere** - prefer it over hard-coded `cmd`/`ctrl`. Bindings are skipped while focus is inside an ``, `