{"action":"created","issue":{"url":"https://api.github.com/repos/zhuochun/md-writer/issues/91","labels_url":"https://api.github.com/repos/zhuochun/md-writer/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/zhuochun/md-writer/issues/91/comments","events_url":"https://api.github.com/repos/zhuochun/md-writer/issues/91/events","html_url":"https://github.com/zhuochun/md-writer/issues/91","id":119230057,"number":91,"title":"Keyboard shortcuts not working","user":{"login":"fusion809","id":4717341,"avatar_url":"https://avatars.githubusercontent.com/u/4717341?v=3","gravatar_id":"","url":"https://api.github.com/users/fusion809","html_url":"https://github.com/fusion809","followers_url":"https://api.github.com/users/fusion809/followers","following_url":"https://api.github.com/users/fusion809/following{/other_user}","gists_url":"https://api.github.com/users/fusion809/gists{/gist_id}","starred_url":"https://api.github.com/users/fusion809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusion809/subscriptions","organizations_url":"https://api.github.com/users/fusion809/orgs","repos_url":"https://api.github.com/users/fusion809/repos","events_url":"https://api.github.com/users/fusion809/events{/privacy}","received_events_url":"https://api.github.com/users/fusion809/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-27T17:44:57Z","updated_at":"2015-12-12T20:37:40Z","closed_at":null,"body":"Hi,\r\n\r\nI would like to bold text with the keyboard shortcut <kbd>Ctrl</kbd>+<kbd>B</kbd> and this is my default `~/.atom/keymap.cson` file:\r\n\r\n```cson\r\n# Default Keymaps for Markdown Writer\r\n# https://atom.io/packages/markdown-writer\r\n#\r\n# Wiki: https://github.com/zhuochun/md-writer/wiki/Settings-for-Keymaps\r\n#\r\n\".platform-linux atom-text-editor[data-grammar~='gfm']\":\r\n  \"shift-ctrl-K\": \"markdown-writer:insert-link\"\r\n  \"shift-ctrl-I\": \"markdown-writer:insert-image\"\r\n  \"ctrl-i\":       \"markdown-writer:toggle-italic-text\"\r\n  \"ctrl-b\":       \"markdown-writer:toggle-bold-text\"\r\n  \"ctrl-'\":       \"markdown-writer:toggle-code-text\"\r\n  \"ctrl-h\":       \"markdown-writer:toggle-strikethrough-text\"\r\n  \"ctrl-1\":       \"markdown-writer:toggle-h1\"\r\n  \"ctrl-2\":       \"markdown-writer:toggle-h2\"\r\n  \"ctrl-3\":       \"markdown-writer:toggle-h3\"\r\n  \"ctrl-4\":       \"markdown-writer:toggle-h4\"\r\n  \"ctrl-5\":       \"markdown-writer:toggle-h5\"\r\n```\r\n\r\nyet whenever I press <kbd>Ctrl</kbd>+<kbd>B</kbd> some opened file search window pops up, that is shown below:\r\n\r\n![File search popup](http://imgur.com/wf1sTT2l.png)\r\n\r\nnow if you're wondering whether one of my plugins is doing this, well I doubt it as these are the only plugins/themes I've installed manually (that is, those that didn't come bundled with Atom 1.2.4):\r\n\r\n```sh\r\n├── git-plus@5.6.6\r\n├── jekyll@1.0.0\r\n├── jekyll-snippets@0.3.2\r\n├── language-gentoo@0.8.0\r\n├── language-markdown@0.5.1\r\n├── markdown-writer@2.0.1\r\n├── minimal-syntax-dark@0.1.7\r\n├── pigments@0.19.1\r\n└── wordcount@2.4.1\r\n```\r\n\r\nIf relevant my OS is Sabayon Linux and my Atom version is, as previously mentioned 1.2.4. \r\n\r\nThanks for your time,\r\nBrenton"},"comment":{"url":"https://api.github.com/repos/zhuochun/md-writer/issues/comments/164189017","html_url":"https://github.com/zhuochun/md-writer/issues/91#issuecomment-164189017","issue_url":"https://api.github.com/repos/zhuochun/md-writer/issues/91","id":164189017,"user":{"login":"kswedberg","id":3485,"avatar_url":"https://avatars.githubusercontent.com/u/3485?v=3","gravatar_id":"","url":"https://api.github.com/users/kswedberg","html_url":"https://github.com/kswedberg","followers_url":"https://api.github.com/users/kswedberg/followers","following_url":"https://api.github.com/users/kswedberg/following{/other_user}","gists_url":"https://api.github.com/users/kswedberg/gists{/gist_id}","starred_url":"https://api.github.com/users/kswedberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kswedberg/subscriptions","organizations_url":"https://api.github.com/users/kswedberg/orgs","repos_url":"https://api.github.com/users/kswedberg/repos","events_url":"https://api.github.com/users/kswedberg/events{/privacy}","received_events_url":"https://api.github.com/users/kswedberg/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T20:37:40Z","updated_at":"2015-12-12T20:37:40Z","body":"Never mind (and sorry for the multiple comments). I just updated my config.cson file to include the following:\r\n\r\n```\r\n\"markdown-writer\":\r\n    fileExtension: \".md\"\r\n    grammars: [\r\n      \"text.md\"\r\n      \"source.gfm\"\r\n      \"source.litcoffee\"\r\n      \"text.plain\"\r\n      \"text.plain.null-grammar\"\r\n    ]```\r\n\r\nAnd it appears to be working great now. @fusion809 : maybe the same will do the trick for you, as well?"}}