From 79e1c7bd2cd833d733a365ffd13a0f28cd604bec Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sun, 11 Apr 2021 02:03:34 +0800 Subject: Hyper experiment Adding some hyper key-bindings. * basic.el (ns-right-alternate-modifier): (ns-function-modifier): (ns-pop-up-frames): (ns-use-native-fullscreen): (ns-use-proxy-icon): (global-map): * org-conf.el (global-map): * view-conf.el (durand-view-map): --- basic.el | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'basic.el') diff --git a/basic.el b/basic.el index 8a3b12f..691ec9d 100644 --- a/basic.el +++ b/basic.el @@ -91,10 +91,16 @@ ;;; mac specific settings -(setq ns-right-alternate-modifier 'none - ns-pop-up-frames nil - ns-use-native-fullscreen nil - ns-use-proxy-icon nil) +(setq ns-right-alternate-modifier 'none) +(setq ns-function-modifier (list :ordinary 'hyper :function 'none :mouse 'none)) +(setq ns-pop-up-frames nil) +(setq ns-use-native-fullscreen nil) +(setq ns-use-proxy-icon nil) + +;;; bookmark + +(define-key global-map (vector ?\H-b) #'bookmark-jump) +(define-key global-map (vector ?\H-m) #'bookmark-set) ;;; where to find the C source code of Emacs. -- cgit v1.2.3-18-g5258