0

Emacs 26.1: C-h v tells me that command-"+" is "s-+". how do I then define a properly working (global-set-key "s-+" 'text-scale-increase) ?

1

What does C-h k s-+ says? In my case in Emacs 27.0.50:

s-+ runs the command text-scale-adjust (found in global-map), which is an autoloaded interactive Lisp function in face-remap.el.

It is bound to s-0, s-=, s-+, s--, C-x C-0, C-x C-=, C-x C--, C-x C-+.

Adjusting text scale with s-<+|=|-|0> is working out of the box since this commit.

0
(global-set-key (kbd "s-+") 'text-scale-increase)
(global-set-key (kbd "s--") 'text-scale-decrease)
(global-set-key (kbd "s-_") 'text-scale-decrease)
  • Can you elaborate? – DoMiNeLa10 May 20 '19 at 16:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.