Skip to content

ctrl + ↓ has stopped working #22

@iqlinuxadmin

Description

@iqlinuxadmin

Gary was trying to use the ctrl + ↓ keyboard shortcut to scroll without moving the text cursor. ctrl + ↑ works as intended to scroll, but he's lost the ctrl + ↓ functionality. He is having the issue on multiple laptops. It appears Apple removed or started overriding this shortcut at some point.

My colleague Corey who is working with Gary on this found this:
You can add these lines to your Emacs configuration file, which is usually ~/.emacs or ~/.emacs.d/init.el. After adding these lines, restart Emacs or evaluate the changes with M-x eval-buffer. Then, you should be able to use Ctrl + Up and Ctrl + Down to scroll through text without moving the cursor:
;; Map Ctrl + Up and Ctrl + Down to scroll without moving cursor
(global-set-key (kbd "C-") 'scroll-down-line)
(global-set-key (kbd "C-") 'scroll-up-line)

However, Gary told him he shouldn't edit init.el since it might mess with your custom settings. Corey tried adding the above commands in ~/.emacs/custom, but that didn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions