all repos — nixfiles @ bef379dd10e5f742e35742b01af8467d90331d02

System and user configuration, managed by nix and home-manager

Emacs: show context-menu on right-click

This makes it easier to do on a MacBook trackpad with a two-finger click.
Alan Pearce alan@alanpearce.eu
Mon, 13 Mar 2023 20:36:31 +0100
commit

bef379dd10e5f742e35742b01af8467d90331d02

parent

acf62d530ba983e762716ef78bd5078c4fc9778b

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -115,6 +115,7 @@ (when (and (eq system-type 'darwin)
            (fboundp #'mac-mouse-wheel-mode))
   (mac-mouse-wheel-mode +1))
+(context-menu-mode +1)
 
 ;;; Chrome
 (column-number-mode -1)