Variable: ghostel-mode-map
ghostel-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
<xterm-paste> ghostel-xterm-paste
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-g ghostel-send-C-g
C-x C-q ghostel-readonly-enter
Documentation
Base keymap for ghostel-mode.
Contains the \C-c prefix commands available in every input mode.
Input modes (ghostel-semi-char-mode-map, ghostel-char-mode-map,
ghostel-readonly-mode-map, ghostel-readonly-fast-exit-mode-map,
ghostel-line-mode-map) inherit or extend this map.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defvar-keymap ghostel-mode-map
:doc "Base keymap for `ghostel-mode'.
Contains the \\`C-c' prefix commands available in every input mode.
Input modes (`ghostel-semi-char-mode-map', `ghostel-char-mode-map',
`ghostel-readonly-mode-map', `ghostel-readonly-fast-exit-mode-map',
`ghostel-line-mode-map') inherit or extend this map."
;; Clipboard media keys — useful in any mode.
"<XF86Paste>" #'ghostel-yank
"<XF86Copy>" #'kill-ring-save
;; Bracketed paste from the host terminal (TTY Emacs): forward the
;; paste payload to the subprocess instead of letting the default
;; `xterm-paste' insert it into the (renderer-owned) buffer.
"<xterm-paste>" #'ghostel-xterm-paste
;; Terminal control via C-c prefix
"C-c C-c" #'ghostel-send-C-c
"C-c C-z" #'ghostel-send-C-z
"C-c C-\\" #'ghostel-send-C-backslash
"C-c C-d" #'ghostel-send-C-d
"C-c C-t" #'ghostel-copy-mode
"C-c M-w" #'ghostel-copy-all
"C-c C-y" #'ghostel-paste
"C-c M-l" #'ghostel-clear-scrollback
"C-c C-q" #'ghostel-send-next-key
;; Hyperlink navigation (OSC 8, auto-detected URLs, file:line refs)
"C-c C-n" #'ghostel-next-hyperlink
"C-c C-p" #'ghostel-previous-hyperlink
;; Prompt navigation (OSC 133) — `ghostel-next-prompt' and
;; `ghostel-previous-prompt' switch to the read-only mode picked by
;; `ghostel-prompt-navigation-input-mode' before jumping.
"C-c M-n" #'ghostel-next-prompt
"C-c M-p" #'ghostel-previous-prompt
;; Input mode switching (eat.el conventions)
"C-c C-e" #'ghostel-emacs-mode
"C-c C-j" #'ghostel-semi-char-mode
"C-c M-d" #'ghostel-char-mode
"C-c C-l" #'ghostel-line-mode
;; `buffer-read-only' is owned by the input-mode machinery; C-x C-q
;; enters the configured read-only mode instead of raw `read-only-mode'
"<remap> <read-only-mode>" #'ghostel-readonly-enter
;; ffap extracts its string from raw buffer text, so a path split by a
;; soft-wrapped row resolves to the fragment before the break
"<remap> <find-file-at-point>" #'ghostel-find-file-at-point
;; Mouse click events
"<down-mouse-1>" #'ghostel-mouse-press-or-copy-mode
"<mouse-1>" #'ghostel-mouse-release-or-set-point
"<drag-mouse-1>" #'ghostel-mouse-drag-or-set-region
"<down-mouse-2>" #'ghostel-mouse-down-2-or-noop
"<mouse-2>" #'ghostel-mouse-paste-primary-or-release
"<down-mouse-3>" #'ghostel--mouse-press
"<mouse-3>" #'ghostel--mouse-release
"<drag-mouse-2>" #'ghostel--mouse-drag
"<drag-mouse-3>" #'ghostel--mouse-drag
;; Drag and drop
"<drag-n-drop>" #'ghostel--drop)