summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-03-13 20:36:31 +0100
committerAlan Pearce2023-03-14 16:30:42 +0100
commitbef379dd10e5f742e35742b01af8467d90331d02 (patch)
tree20c779335009d5e836096473cad90a855a5f0fa5 /user
parentacf62d530ba983e762716ef78bd5078c4fc9778b (diff)
downloadnixfiles-bef379dd10e5f742e35742b01af8467d90331d02.tar.lz
nixfiles-bef379dd10e5f742e35742b01af8467d90331d02.tar.zst
nixfiles-bef379dd10e5f742e35742b01af8467d90331d02.zip
Emacs: show context-menu on right-click
This makes it easier to do on a MacBook trackpad with a two-finger click.
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 738f887d..dc57cd56 100644
--- a/user/emacs/init.el
+++ b/user/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)