Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cf7c8463
Commit
cf7c8463
authored
Dec 07, 1994
by
Richard M. Stallman
Browse files
(comint-mode-map): Treat C-up, C-down like M-p, M-n.
parent
b135a7cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
lisp/comint.el
lisp/comint.el
+2
-0
No files found.
lisp/comint.el
View file @
cf7c8463
...
...
@@ -394,6 +394,8 @@ Entry to this mode runs the hooks on `comint-mode-hook'."
(
setq
comint-mode-map
(
make-sparse-keymap
))
(
define-key
comint-mode-map
"\ep"
'comint-previous-input
)
(
define-key
comint-mode-map
"\en"
'comint-next-input
)
(
define-key
comint-mode-map
[C-up]
'comint-previous-input
)
(
define-key
comint-mode-map
[C-down]
'comint-next-input
)
(
define-key
comint-mode-map
"\er"
'comint-previous-matching-input
)
(
define-key
comint-mode-map
"\es"
'comint-next-matching-input
)
(
define-key
comint-mode-map
[?\A-\M-r]
'comint-previous-matching-input-from-input
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment