Variable: ghostel-readonly-mode-map

ghostel-readonly-mode-map is a variable defined in ghostel.el.

Value

Large value
                ghostel-find-file-at-point
<XF86Copy>      kill-ring-save
<XF86Paste>     ghostel-yank
<down-mouse-1>  ghostel-mouse-press-or-copy-mode
<down-mouse-2>  ghostel-mouse-down-2-or-noop
<down-mouse-3>  ghostel--mouse-press
<drag-mouse-1>  ghostel-mouse-drag-or-set-region
<drag-mouse-2>  ghostel--mouse-drag
<drag-mouse-3>  ghostel--mouse-drag
<drag-n-drop>   ghostel--drop
<mouse-1>       ghostel-mouse-release-or-set-point
<mouse-2>       ghostel-mouse-paste-primary-or-release
<mouse-3>       ghostel--mouse-release
<return>        ghostel-open-link-at-point
<xterm-paste>   ghostel-xterm-paste
C-a             ghostel-beginning-of-input-or-line
C-c C-\         ghostel-send-C-backslash
C-c C-c         ghostel-send-C-c
C-c C-d         ghostel-send-C-d
C-c C-e         ghostel-emacs-mode
C-c C-j         ghostel-semi-char-mode
C-c C-l         ghostel-line-mode
C-c C-n         ghostel-next-hyperlink
C-c C-p         ghostel-previous-hyperlink
C-c C-q         ghostel-send-next-key
C-c C-t         ghostel-copy-mode
C-c C-y         ghostel-paste
C-c C-z         ghostel-send-C-z
C-c M-d         ghostel-char-mode
C-c M-l         ghostel-clear-scrollback
C-c M-n         ghostel-next-prompt
C-c M-p         ghostel-previous-prompt
C-c M-w         ghostel-copy-all
C-e             ghostel-readonly-end-of-line
C-g             ghostel-send-C-g
C-w             ghostel-readonly-copy
C-x C-q         ghostel-readonly-enter
C-x C-q         ghostel-readonly-exit
C-y             ghostel-yank
C-y             ghostel-yank
M->             ghostel-readonly-end-of-buffer
M-w             ghostel-readonly-copy
RET             ghostel-open-link-at-point

Documentation

Keymap shared by ghostel-copy-mode and ghostel-emacs-mode.

The buffer is read-only in both modes; the only difference between them is whether live terminal output keeps streaming (Emacs mode) or is paused (copy mode). Self-insert, RET, TAB, DEL and friends are NOT bound here — Emacs's standard text-read-only barrier keeps stray keystrokes from reaching the shell. Pasting via M-x ghostel-yank (ghostel-yank) is allowed as an explicit input action; it forwards via bracketed paste and snaps point back to the live cursor.

When ghostel-readonly-fast-exit is non-nil, the additional bindings in ghostel-readonly-fast-exit-mode-map are layered on top so that \q, \C-g, or any self-insert key exits.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defvar-keymap ghostel-readonly-mode-map
  :doc "Keymap shared by `ghostel-copy-mode' and `ghostel-emacs-mode'.
The buffer is read-only in both modes; the only difference between
them is whether live terminal output keeps streaming (Emacs mode)
or is paused (copy mode).  Self-insert, RET, TAB, DEL and friends
are NOT bound here — Emacs's standard `text-read-only' barrier
keeps stray keystrokes from reaching the shell.  Pasting via
\\[ghostel-yank] is allowed as an explicit input action; it
forwards via bracketed paste and snaps point back to the live
cursor.

When `ghostel-readonly-fast-exit' is non-nil, the additional
bindings in `ghostel-readonly-fast-exit-mode-map' are layered on
top so that \\`q', \\`C-g', or any self-insert key exits."
  :parent ghostel-mode-map
  "C-a"            #'ghostel-beginning-of-input-or-line
  "C-y"            #'ghostel-yank
  "<remap> <yank>" #'ghostel-yank
  "M-w"            #'ghostel-readonly-copy
  "C-w"            #'ghostel-readonly-copy
  "M->"            #'ghostel-readonly-end-of-buffer
  "C-e"            #'ghostel-readonly-end-of-line
  "RET"            #'ghostel-open-link-at-point
  "<return>"       #'ghostel-open-link-at-point
  ;; Toggle symmetry with the parent map's `ghostel-readonly-enter'.
  "<remap> <read-only-mode>" #'ghostel-readonly-exit)