{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/notebook/issues/1109","repository_url":"https://api.github.com/repos/jupyter/notebook","labels_url":"https://api.github.com/repos/jupyter/notebook/issues/1109/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/notebook/issues/1109/comments","events_url":"https://api.github.com/repos/jupyter/notebook/issues/1109/events","html_url":"https://github.com/jupyter/notebook/pull/1109","id":134813431,"number":1109,"title":"[WIP] Support Vim mode in notebook","user":{"login":"parleur","id":1714229,"avatar_url":"https://avatars.githubusercontent.com/u/1714229?v=3","gravatar_id":"","url":"https://api.github.com/users/parleur","html_url":"https://github.com/parleur","followers_url":"https://api.github.com/users/parleur/followers","following_url":"https://api.github.com/users/parleur/following{/other_user}","gists_url":"https://api.github.com/users/parleur/gists{/gist_id}","starred_url":"https://api.github.com/users/parleur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parleur/subscriptions","organizations_url":"https://api.github.com/users/parleur/orgs","repos_url":"https://api.github.com/users/parleur/repos","events_url":"https://api.github.com/users/parleur/events{/privacy}","received_events_url":"https://api.github.com/users/parleur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jupyter/notebook/milestones/5","html_url":"https://github.com/jupyter/notebook/milestones/5.0","labels_url":"https://api.github.com/repos/jupyter/notebook/milestones/5/labels","id":1204377,"number":5,"title":"5.0","description":null,"creator":{"login":"minrk","id":151929,"avatar_url":"https://avatars.githubusercontent.com/u/151929?v=3","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"open_issues":77,"closed_issues":38,"state":"open","created_at":"2015-07-13T02:35:56Z","updated_at":"2016-02-22T19:31:13Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-02-19T09:24:18Z","updated_at":"2016-02-23T01:06:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jupyter/notebook/pulls/1109","html_url":"https://github.com/jupyter/notebook/pull/1109","diff_url":"https://github.com/jupyter/notebook/pull/1109.diff","patch_url":"https://github.com/jupyter/notebook/pull/1109.patch"},"body":"This pull request is functional but not usable right now. SHOULD NOT BE REVIEWED\r\n\r\nIt switches the keybindings of all codemirror instance (inspired by the editor). It obviously raises issue in UI interface I aim to discuss here.\r\n\r\n- Issues (just here to be exhautive):\r\n  - Double modal editor: when vim mode is activated in CM, it add a modal editor inside the Jupyter's modal management... Yes press Enter then press a to edit ... not usable\r\n  - Escape (managed by Jupyter) unfocus CM even in Vim edit mode.\r\n\r\n- Solutions proposed. Obviously vim mode should modify the Jupyter keymap also. I propose following changes:\r\n     - Down (Jup managed ) --> Ctrl+Down : switch cell\r\n     - Esc ( Jup managed ) --> Esc (Jup managed): not even ADD a modal state but track CM modal state and synchronize Jupyter modal and CM modal\r\n     - 'a' and 'i' (CM vim mod) --> Same thing, escape from vim edit mode AND from Jupyter edit mode\r\n\r\nThat's it. Feel free to discuss, that's the main purpose of this PR"},"comment":{"url":"https://api.github.com/repos/jupyter/notebook/issues/comments/187460787","html_url":"https://github.com/jupyter/notebook/pull/1109#issuecomment-187460787","issue_url":"https://api.github.com/repos/jupyter/notebook/issues/1109","id":187460787,"user":{"login":"Carreau","id":335567,"avatar_url":"https://avatars.githubusercontent.com/u/335567?v=3","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T01:06:44Z","updated_at":"2016-02-23T01:06:44Z","body":"Regardless of that, pretty sweet, and seem to mostly work for me. \r\n"}}