Commit graph

8 commits

Author SHA1 Message Date
Liu, Joey 42b13b5178 Fix OSX mapping issue, because of a recent commit changed the way of OSX mapping 2017-05-18 23:12:56 -04:00
Bas Veeling 20535e2ebc Added hide-others shortcut to osx keybindings
In emacs 25.1, the osx system default shortcut cmd+alt+h to hide other windows is broken. This commit fixes this (see #7464).
2017-05-14 21:57:11 -04:00
Aaron Culich 2215ffe68d change osx-command-as default for ⌘ to hyper instead of super
The purpose of this PR is to set the default for ⌘ to `hyper' and to provide the
function `kbd-mac-command` to replace `kbd' when defining keybindings for ⌘ in
case someone decides to explicitly set osx-command-as to `super' or `alt'.

There are problems setting osx-command-as to `alt' and `super',
so we use `hyper' as a default instead because, for example:
  - Using `alt':   Command-x or Command-m inserts, respectively: × µ
  - Using `super': Control-Command-f produces keycode: <C-s-268632078>
Setting to `hyper' seems to avoid both types of the above problems.
Also, while it is possible, it is not recommended to set to `meta'
since standard OSX shortcuts would overshadow important keys such
as M-x.

Two other small changes include:

  - Commenting out the code that defines <C-s-268632078> (C-s-f) since it is
    unnecessary if we use `hyper' as the default; and if we really want to use
    `super' then we should figure out how to solve the weird keycode issue.

  - add keybinding for ⌘` (Command-backtick) to `other-window'.
    Emacs usually swallows this keystroke, so other-window basically restores
    the default behavior that most Mac OSX users would expect.
2017-05-14 21:54:06 -04:00
Chream 5ff0fbe6d9 [enhancement] OSX Layer. add config variables for different OSX modifier keys.
[update] Update defaults.

[update] update README.
2017-05-14 21:34:30 -04:00
Liu, Joey a754c204ce In OSX, add key binding to use command-1..9 for selecting window 2017-05-14 12:32:39 -04:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
d12frosted 78d76758e5
add missing headers to osx layer files 2016-08-28 14:23:34 +03:00
syl20bnr 9d0558992c layers directory: create new categories
+chat
+checkers
+emacs
+intl
+os
+pair-programming
+tags
+theme
+web-services
2016-03-23 21:39:43 -04:00
Renamed from layers/osx/keybindings.el (Browse further)