Keybindings
Keyboard shortcuts, presets, and custom binding configuration.
Default Preset
The default preset includes 8 core keybindings. These are always available unless overridden by a custom binding.
| Keys | Action |
|---|---|
Ctrl+Shift+C | Copy selection to clipboard |
Ctrl+Shift+V | Paste from clipboard |
Ctrl+Shift+F | Toggle search overlay |
Ctrl+= | Increase font size |
Ctrl+- | Decrease font size |
Ctrl+0 | Reset font size |
Ctrl+Shift+Up | Scroll up |
Ctrl+Shift+Down | Scroll down |
Tab Management
Tab shortcuts are built-in and available regardless of the selected preset.
| Keys | Action |
|---|---|
Ctrl+Shift+T | New tab |
Ctrl+Shift+W | Close tab |
Ctrl+Tab | Next tab |
Ctrl+Shift+Tab | Previous tab |
Vim Preset
Includes all 8 default bindings plus 6 vim-style additions. Activate with preset = "vim".
| Keys | Action |
|---|---|
Ctrl+Shift+J | Scroll down |
Ctrl+Shift+K | Scroll up |
Ctrl+Shift+H | Previous tab |
Ctrl+Shift+L | Next tab |
Ctrl+Shift+T | New tab |
Ctrl+Shift+W | Close tab |
Emacs Preset
Includes all 8 default bindings plus 6 emacs-style additions. Activate with preset = "emacs".
| Keys | Action |
|---|---|
Ctrl+Shift+N | Scroll down |
Ctrl+Shift+P | Scroll up |
Ctrl+Shift+T | New tab |
Ctrl+Shift+W | Close tab |
Ctrl+Shift+Right | Next tab |
Ctrl+Shift+Left | Previous tab |
Available Actions
These action names can be used in preset and custom keybinding definitions.
| Action | Description |
|---|---|
copy | Copy selection to clipboard |
paste | Paste from clipboard |
search | Toggle search overlay |
scroll_up | Scroll up in scrollback |
scroll_down | Scroll down in scrollback |
increase_font_size | Increase font size |
decrease_font_size | Decrease font size |
reset_font_size | Reset font size to default |
new_tab | Open a new tab |
close_tab | Close the current tab |
next_tab | Switch to next tab |
prev_tab | Switch to previous tab |
toggle_fullscreen | Toggle fullscreen mode |
send_bytes | Send raw bytes to the PTY (requires bytes field) |
Custom Keybindings
Add custom keybindings in your blade.toml using the [[keybindings.custom]] array. Custom bindings are applied on top of the selected preset.
Sending raw escape sequences
Use the send_bytes action to send raw byte sequences to the terminal. This is useful for sending custom escape sequences.