Skip to content

Commit

Permalink
[emacs] Use C-x for universal argument
Browse files Browse the repository at this point in the history
It’s been a while since I mapped C-u to ctrl-x-map so now it’s also time
to turn C-x to universal argument.
  • Loading branch information
mina86 committed Jun 3, 2023
1 parent f2fa1c3 commit 9873da0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,6 @@ three times - to the right, four times - centers."
(load (concat user-emacs-directory "local.el") t)

(global-set-key "\C-u" ctl-x-map)
(global-set-key "\C-x" (lambda () (interactive)
(error "Did you mean C-u?")))
(global-set-key "\C-x" 'universal-argument)

;;; init.el ends here

0 comments on commit 9873da0

Please sign in to comment.