[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to type {, [
From: |
Nicolas Forgerit |
Subject: |
Re: How to type {, [ |
Date: |
Thu, 9 Jun 2011 23:54:11 +0200 |
Hello Mr. Cheng,
good choice! Load your .emacs file (which you can usually find at [1])
with "C-x C-f", paste the code [0] into it, save with "C-x C-s". Then
either restart Emacs or type "M-x eval-buffer" and hit Enter. This
command remaps "Meta" to the "Apple Cmd-Button" and let's you use
"Alt" for the brackets. I think this is the most useful way to go on a
Mac.
Have fun & best regards from Karlsruhe! :-)
Ciao
Nico
[0] Emacs Lisp Code:
;; (begin) ENABLE MAC KBD BINDINGS
(setq mac-option-modifier nil
mac-command-modifier 'meta
x-select-enable-clipboard t)
;; (end of code-snippet)
[1] Filepath on our Harddisk-Drive
~/.emacs
On Thu, Jun 9, 2011 at 2:22 PM, Yuan Cheng <gmzgmy@gmail.com> wrote:
> Dear Sir or Madam,
>
> my name is Yuan Cheng and I'm from Germany. Today I started to use emacs, but
> I've encountered a big problem.
> I don't know how I can type { } or [ ]. I am using a german keyboard and to
> type them I have to use "alt" (on my Mac) which has another usage in emacs.
>
> Best regards,
>
> Yuan Cheng
>
--
Ciao
Nico