{"action":"created","issue":{"url":"https://api.github.com/repos/geany/geany/issues/596","labels_url":"https://api.github.com/repos/geany/geany/issues/596/labels{/name}","comments_url":"https://api.github.com/repos/geany/geany/issues/596/comments","events_url":"https://api.github.com/repos/geany/geany/issues/596/events","html_url":"https://github.com/geany/geany/issues/596","id":98441722,"number":596,"title":"Default zoom in keybinding doesn't work in Mac OS X","user":{"login":"sorawee","id":9099577,"avatar_url":"https://avatars.githubusercontent.com/u/9099577?v=3","gravatar_id":"","url":"https://api.github.com/users/sorawee","html_url":"https://github.com/sorawee","followers_url":"https://api.github.com/users/sorawee/followers","following_url":"https://api.github.com/users/sorawee/following{/other_user}","gists_url":"https://api.github.com/users/sorawee/gists{/gist_id}","starred_url":"https://api.github.com/users/sorawee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorawee/subscriptions","organizations_url":"https://api.github.com/users/sorawee/orgs","repos_url":"https://api.github.com/users/sorawee/repos","events_url":"https://api.github.com/users/sorawee/events{/privacy}","received_events_url":"https://api.github.com/users/sorawee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-31T17:57:37Z","updated_at":"2015-08-07T14:44:39Z","closed_at":null,"body":"The default key is `Primary-Plus`. This is impossible to input because:\r\n1. `Cmd =` will result in `Primary-Equal`\r\n2. `Cmd Shift =` = `Cmd +` will result in `Primary-Shift-Plus`\r\nNone of these match `Primary-Plus`"},"comment":{"url":"https://api.github.com/repos/geany/geany/issues/comments/128718093","html_url":"https://github.com/geany/geany/issues/596#issuecomment-128718093","issue_url":"https://api.github.com/repos/geany/geany/issues/596","id":128718093,"user":{"login":"techee","id":713965,"avatar_url":"https://avatars.githubusercontent.com/u/713965?v=3","gravatar_id":"","url":"https://api.github.com/users/techee","html_url":"https://github.com/techee","followers_url":"https://api.github.com/users/techee/followers","following_url":"https://api.github.com/users/techee/following{/other_user}","gists_url":"https://api.github.com/users/techee/gists{/gist_id}","starred_url":"https://api.github.com/users/techee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techee/subscriptions","organizations_url":"https://api.github.com/users/techee/orgs","repos_url":"https://api.github.com/users/techee/repos","events_url":"https://api.github.com/users/techee/events{/privacy}","received_events_url":"https://api.github.com/users/techee/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T14:44:39Z","updated_at":"2015-08-07T14:44:39Z","body":"Couldn't the gtk theme be used somehow to modify this? When creating the bundle I noticed I need the gtk-2.0-key theme in\r\n\r\n/Applications/Geany.app/Contents/Resources/share/themes/Mac/gtk-2.0-key\r\n\r\nto get OS X keybindings and the gtkrc there looks this way:\r\n\r\n```\r\ngtk-enable-mnemonics = 0\r\n\r\nbinding \"gtk-mac-alt-arrows\"\r\n{\r\n  bind \"<alt>Right\"           { \"move-cursor\" (words, 1, 0) }\r\n  bind \"<alt>KP_Right\"        { \"move-cursor\" (words, 1, 0) }\r\n  bind \"<alt>Left\"            { \"move-cursor\" (words, -1, 0) }\r\n  bind \"<alt>KP_Left\"         { \"move-cursor\" (words, -1, 0) }\r\n  bind \"<shift><alt>Right\"    { \"move-cursor\" (words, 1, 1) }\r\n  bind \"<shift><alt>KP_Right\" { \"move-cursor\" (words, 1, 1) }\r\n  bind \"<shift><alt>Left\"     { \"move-cursor\" (words, -1, 1) }\r\n  bind \"<shift><alt>KP_Left\"  { \"move-cursor\" (words, -1, 1) }\r\n}\r\n\r\nclass \"GtkTextView\" binding \"gtk-mac-alt-arrows\"\r\nclass \"GtkLabel\" binding \"gtk-mac-alt-arrows\"\r\nclass \"GtkEntry\" binding \"gtk-mac-alt-arrows\"\r\n\r\n\r\nbinding \"gtk-mac-alt-delete\"\r\n{\r\n  bind \"<alt>Delete\" { \"delete-from-cursor\" (word-ends, 1) }\r\n  bind \"<alt>KP_Delete\" { \"delete-from-cursor\" (word-ends, 1) }\r\n  bind \"<alt>BackSpace\" { \"delete-from-cursor\" (word-ends, -1) }\r\n}\r\n\r\nclass \"GtkTextView\" binding \"gtk-mac-alt-delete\"\r\nclass \"GtkEntry\" binding \"gtk-mac-alt-delete\"\r\n\r\n\r\nbinding \"gtk-mac-cmd-c\"\r\n{\r\n  bind \"<meta>x\" { \"cut-clipboard\" () }\r\n  bind \"<meta>c\" { \"copy-clipboard\" () }\r\n  bind \"<meta>v\" { \"paste-clipboard\" () }\r\n  unbind \"<ctrl>x\"\r\n  unbind \"<ctrl>c\"\r\n  unbind \"<ctrl>v\"\r\n}\r\n\r\nclass \"GtkTextView\" binding \"gtk-mac-cmd-c\"\r\nclass \"GtkEntry\" binding \"gtk-mac-cmd-c\"\r\n\r\n\r\nbinding \"gtk-mac-text-view\"\r\n{\r\n  bind \"<shift><meta>a\" { \"select-all\" (0) }\r\n  bind \"<meta>a\" { \"select-all\" (1) }\r\n  unbind \"<shift><ctrl>a\"\r\n  unbind \"<ctrl>a\"\r\n}\r\n\r\nclass \"GtkTextView\" binding \"gtk-mac-text-view\"\r\n\r\n\r\nbinding \"gtk-mac-label\"\r\n{\r\n  bind \"<meta>a\" {\r\n    \"move-cursor\" (paragraph-ends, -1, 0)\r\n    \"move-cursor\" (paragraph-ends, 1, 1)\r\n  }\r\n  bind \"<shift><meta>a\" { \"move-cursor\" (paragraph-ends, 0, 0) }\r\n  bind \"<meta>c\" { \"copy-clipboard\" () }\r\n  unbind \"<ctrl>a\"\r\n  unbind \"<shift><ctrl>a\"\r\n  unbind \"<ctrl>c\"\r\n}\r\n\r\nclass \"GtkLabel\" binding \"gtk-mac-label\"\r\n\r\n\r\nbinding \"gtk-mac-entry\"\r\n{\r\n  bind \"<meta>a\" {\r\n    \"move-cursor\" (buffer-ends, -1, 0)\r\n    \"move-cursor\" (buffer-ends, 1, 1)\r\n  }\r\n  bind \"<shift><meta>a\" { \"move-cursor\" (visual-positions, 0, 0) }\r\n  unbind \"<ctrl>a\"\r\n  unbind \"<shift><ctrl>a\"\r\n}\r\n\r\nclass \"GtkEntry\" binding \"gtk-mac-entry\"\r\n\r\n\r\nbinding \"gtk-mac-cmd-arrows\"\r\n{\r\n  bind \"<meta>Left\" { \"move-cursor\" (paragraph-ends, -1, 0) }\r\n  bind \"<meta>KP_Left\" { \"move-cursor\" (paragraph-ends, -1, 0) }\r\n  bind \"<shift><meta>Left\" { \"move-cursor\" (paragraph-ends, -1, 1) }\r\n  bind \"<shift><meta>KP_Left\" { \"move-cursor\" (paragraph-ends, -1, 1) }\r\n  bind \"<meta>Right\" { \"move-cursor\" (paragraph-ends, 1, 0) }\r\n  bind \"<meta>KP_Right\" { \"move-cursor\" (paragraph-ends, 1, 0) }\r\n  bind \"<shift><meta>Right\" { \"move-cursor\" (paragraph-ends, 1, 1) }\r\n  bind \"<shift><meta>KP_Right\" { \"move-cursor\" (paragraph-ends, 1, 1) }\r\n}\r\n\r\nclass \"GtkTextView\" binding \"gtk-mac-cmd-arrows\"\r\nclass \"GtkLabel\" binding \"gtk-mac-cmd-arrows\"\r\nclass \"GtkEntry\" binding \"gtk-mac-cmd-arrows\"\r\n\r\n\r\nbinding \"gtk-mac-emacs-like\"\r\n{\r\n  bind \"<ctrl>a\" { \"move-cursor\" (paragraph-ends, -1, 0) }\r\n  bind \"<shift><ctrl>a\" { \"move-cursor\" (paragraph-ends, -1, 1) }\r\n  bind \"<ctrl>e\" { \"move-cursor\" (paragraph-ends, 1, 0) }\r\n  bind \"<shift><ctrl>e\" { \"move-cursor\" (paragraph-ends, 1, 1) }\r\n\r\n  bind \"<ctrl>b\" { \"move-cursor\" (logical-positions, -1, 0) }\r\n  bind \"<shift><ctrl>b\" { \"move-cursor\" (logical-positions, -1, 1) }\r\n  bind \"<ctrl>f\" { \"move-cursor\" (logical-positions, 1, 0) }\r\n  bind \"<shift><ctrl>f\" { \"move-cursor\" (logical-positions, 1, 1) }\r\n}\r\n\r\nclass \"GtkTextView\" binding \"gtk-mac-emacs-like\"\r\nclass \"GtkLabel\" binding \"gtk-mac-emacs-like\"\r\nclass \"GtkEntry\" binding \"gtk-mac-emacs-like\"\r\n\r\n\r\nbinding \"gtk-mac-file-chooser\"\r\n{\r\n  bind \"<meta>v\" { \"location-popup-on-paste\" () }\r\n  unbind \"<ctrl>v\"\r\n\r\n  bind \"<meta><shift>G\" { \"location-popup\" () }\r\n  bind \"<meta><shift>H\" { \"home-folder\" () }\r\n  bind \"<meta>Up\" { \"up-folder\" () }\r\n}\r\n\r\nclass \"GtkFileChooserDefault\" binding \"gtk-mac-file-chooser\"\r\n\r\n\r\nbinding \"gtk-mac-tree-view\"\r\n{\r\n  bind \"<meta>a\" { \"select-all\" () }\r\n  bind \"<shift><meta>a\" { \"unselect-all\" () }\r\n  bind \"<meta>f\" { \"start-interactive-search\" () }\r\n  bind \"<meta>F\" { \"start-interactive-search\" () }\r\n  unbind \"<ctrl>a\"\r\n  unbind \"<shift><ctrl>a\"\r\n  unbind \"<ctrl>f\"\r\n  unbind \"<ctrl>F\"\r\n}\r\n\r\nclass \"GtkTreeView\" binding \"gtk-mac-tree-view\"\r\n\r\n\r\nbinding \"gtk-mac-icon-view\"\r\n{\r\n  bind \"<meta>a\" { \"select-all\" () }\r\n  bind \"<shift><meta>a\" { \"unselect-all\" () }\r\n  unbind \"<ctrl>a\"\r\n  unbind \"<shift><ctrl>a\"\r\n}\r\n\r\nclass \"GtkIconView\" binding \"gtk-mac-icon-view\"\r\n```\r\n\r\nI'm not really familiar with Gtk themes so it may not be achievable, just mentioning in case someone knows more."}}