In normal “character” mode most key-presses result in characters being send to the process (shell), but certain special key-combinations are handled specially. This is covered here.
Copy the selection to the clipboard.
It is copied as both plain text (
and formatted HTML (
text/html) in case the receiving
application can paste the latter.
(Ctrl+C also works in line-editing mode.)
Paste text from the clipboard. (Ctrl+V also works in line-editing mode.)
“Cut”: Restricts the selection to the current input area, copies that restricted selection to the clipboard, and then deletes the restricted selection. (In character mode, the deletion is implemented by sending the appropriate number of Delete/Backspace characters to the application.)
Save the display to a file.
Cycle between the input modes: automatic, to line, to character, and back. The resulting mode is displayed temporarily.
Enter Paging mode.
Show a popup with useful information about version, mode, size, or other data. This is shown if you press and release the Ctrl key without pressing some other key. Easiest way to make the popup go away is to press Ctrl again.
The following are implemented by most browsers, rather than DomTerm, so it may not work on all browsers.
Zoom in (makes text bigger). (Does not work in atom-domterm.)
Zoom out (makes text smaller). (Does not work in atom-domterm.)
“Un-zoom” to normal size.
Toggle full-screen mode.
(Not for Electron or Qt.) Toggle full-screen mode for the current sub-window.
Toogle Developer Window, useful for debugging or examining the state of the Document Object Model.
In paging and edit modes, these may be modified by a repeat count. Otherwise, count defaults to 1.
Scroll count “pages” up or down, respectively. (Specifically, the viewport height times count minus a height of one line.)
Scroll count lines up or down, respectively.
Scroll to top.
Scroll to bottom.
See also the bindings for View mode - Paging and Pausing mode.
The prefix key Ctrl+Shift+A when followed by some other key controls sessions and windows.
Create a new terminal in a new tab.
Create a new terminal in a new pane (sub-window). The new pane is create to the right or below the current pane, depending on space.
Create a new terminal pane to the left of the current one.
Create a new terminal pane to the right of the current one.
Create a new terminal pane above the current one.
Create a new terminal pane below the current one.
Select the previous pane or tab.
Select the next pane or tab.
Detach from current session and close the (sub-)window.
You can override the keymap (map from keystrokes to action).
keymap.line-edit setting is a list (separated by commas or newlines),
where each item is a quoted keystroke string, followed by a colon,
followed by an action name. An action name is a string,
but quotes are optional.
To enable “standard” handling of Ctrl+V for Paste and Ctrl+C for Copy (while still signalling interrupt when there is no selection) do:
keymap.master = | "Ctrl+C": copy-text-or-interrupt | "Ctrl+V": paste-text