Variable: scroll-lock-mode-map
scroll-lock-mode-map is a variable defined in scroll-lock.el.gz.
Value
C-n scroll-lock-next-line
C-p scroll-lock-previous-line
M-{ scroll-lock-backward-paragraph
M-} scroll-lock-forward-paragraph
S-<down> scroll-lock-next-line-always-scroll
Documentation
Keymap for Scroll Lock mode.
Source Code
;; Defined in /usr/src/emacs/lisp/scroll-lock.el.gz
;;; scroll-lock.el --- Scroll lock scrolling. -*- lexical-binding:t -*-
;; Copyright (C) 2005-2024 Free Software Foundation, Inc.
;; Author: Ralf Angeli <angeli@iwi.uni-sb.de>
;; Maintainer: emacs-devel@gnu.org
;; Created: 2005-06-18
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; By activating Scroll Lock mode, keys for moving point by line or
;; paragraph will scroll the buffer by the respective amount of lines
;; instead. Point will be kept vertically fixed relative to window
;; boundaries.
;;; Code:
(defvar-keymap scroll-lock-mode-map
:doc "Keymap for Scroll Lock mode."
"<remap> <next-line>" #'scroll-lock-next-line
"<remap> <previous-line>" #'scroll-lock-previous-line
"<remap> <forward-paragraph>" #'scroll-lock-forward-paragraph
"<remap> <backward-paragraph>" #'scroll-lock-backward-paragraph
"S-<down>" #'scroll-lock-next-line-always-scroll)