map cmd to meta in emacs.app 23.2
This commit is contained in:
parent
9df87eba7b
commit
cf455f222d
1 changed files with 7 additions and 2 deletions
9
emacs
9
emacs
|
|
@ -9,6 +9,13 @@
|
||||||
;; don't litter my filesystem with ~ files!
|
;; don't litter my filesystem with ~ files!
|
||||||
(setq make-backup-files nil)
|
(setq make-backup-files nil)
|
||||||
|
|
||||||
|
;; map cmd to meta (Emacs.app 23.2)
|
||||||
|
(when macosx-p
|
||||||
|
(setq mac-option-key-is-meta nil)
|
||||||
|
(setq mac-command-key-is-meta t)
|
||||||
|
(setq mac-command-modifier 'meta)
|
||||||
|
(setq mac-option-modifier nil))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; setup load paths ;;
|
;; setup load paths ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
@ -346,8 +353,6 @@
|
||||||
;; web searches
|
;; web searches
|
||||||
(global-set-key "\C-zwg" 'web-search-google)
|
(global-set-key "\C-zwg" 'web-search-google)
|
||||||
(global-set-key "\C-zww" 'web-search-wikipedia)
|
(global-set-key "\C-zww" 'web-search-wikipedia)
|
||||||
(global-set-key "\C-zwih" 'web-search-iso-hunt)
|
|
||||||
(global-set-key "\C-zwpb" 'web-search-pirate-bay)
|
|
||||||
|
|
||||||
;; extend Emacs' default key binding space
|
;; extend Emacs' default key binding space
|
||||||
(global-set-key "\C-x\C-b" 'bs-show) ; use the buffer list buffer menu
|
(global-set-key "\C-x\C-b" 'bs-show) ; use the buffer list buffer menu
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue