{"action":"created","comment":{"url":"https://api.github.com/repos/scopatz/xonsh/pulls/comments/63139811","id":63139811,"diff_hunk":"@@ -77,7 +77,8 @@ def singleline(self, store_in_history=True, auto_suggest=None,\n                     enable_history_search=enable_history_search,\n                     reserve_space_for_menu=0,\n                     key_bindings_registry=self.key_bindings_manager.registry,\n-                    display_completions_in_columns=multicolumn)\n+                    display_completions_in_columns=multicolumn,\n+                    vi_mode=builtins.__xonsh_env__.get('VI_MODE'))","path":"xonsh/ptk/shell.py","position":15,"original_position":15,"commit_id":"ddac56b6750eed61485457ad33912bb9e93fc789","original_commit_id":"ddac56b6750eed61485457ad33912bb9e93fc789","user":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"body":"Can you make this a little more robust, please, by testing the `xonsh.shell.prompt_toolkit_version()` to figure out which kwarg to use? That would be great!","created_at":"2016-05-13T06:53:40Z","updated_at":"2016-05-13T06:53:40Z","html_url":"https://github.com/scopatz/xonsh/pull/878#discussion_r63139811","pull_request_url":"https://api.github.com/repos/scopatz/xonsh/pulls/878","_links":{"self":{"href":"https://api.github.com/repos/scopatz/xonsh/pulls/comments/63139811"},"html":{"href":"https://github.com/scopatz/xonsh/pull/878#discussion_r63139811"},"pull_request":{"href":"https://api.github.com/repos/scopatz/xonsh/pulls/878"}}},"pull_request":{"url":"https://api.github.com/repos/scopatz/xonsh/pulls/878","id":69950360,"html_url":"https://github.com/scopatz/xonsh/pull/878","diff_url":"https://github.com/scopatz/xonsh/pull/878.diff","patch_url":"https://github.com/scopatz/xonsh/pull/878.patch","issue_url":"https://api.github.com/repos/scopatz/xonsh/issues/878","number":878,"state":"open","locked":false,"title":"fix vi_mode set but still not enabled in prompt_tookit shell","user":{"login":"tsingakbar","id":7518735,"avatar_url":"https://avatars.githubusercontent.com/u/7518735?v=3","gravatar_id":"","url":"https://api.github.com/users/tsingakbar","html_url":"https://github.com/tsingakbar","followers_url":"https://api.github.com/users/tsingakbar/followers","following_url":"https://api.github.com/users/tsingakbar/following{/other_user}","gists_url":"https://api.github.com/users/tsingakbar/gists{/gist_id}","starred_url":"https://api.github.com/users/tsingakbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsingakbar/subscriptions","organizations_url":"https://api.github.com/users/tsingakbar/orgs","repos_url":"https://api.github.com/users/tsingakbar/repos","events_url":"https://api.github.com/users/tsingakbar/events{/privacy}","received_events_url":"https://api.github.com/users/tsingakbar/received_events","type":"User","site_admin":false},"body":"As the title suggests.","created_at":"2016-05-13T06:48:26Z","updated_at":"2016-05-13T06:53:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95f6635ebf96d0a1512bf0d173e243053d85f48c","assignee":null,"milestone":{"url":"https://api.github.com/repos/scopatz/xonsh/milestones/2","html_url":"https://github.com/scopatz/xonsh/milestones/v0.3","labels_url":"https://api.github.com/repos/scopatz/xonsh/milestones/2/labels","id":1302567,"number":2,"title":"v0.3","description":"","creator":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"open_issues":104,"closed_issues":365,"state":"open","created_at":"2015-09-12T18:28:59Z","updated_at":"2016-05-13T06:51:23Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/scopatz/xonsh/pulls/878/commits","review_comments_url":"https://api.github.com/repos/scopatz/xonsh/pulls/878/comments","review_comment_url":"https://api.github.com/repos/scopatz/xonsh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scopatz/xonsh/issues/878/comments","statuses_url":"https://api.github.com/repos/scopatz/xonsh/statuses/ddac56b6750eed61485457ad33912bb9e93fc789","head":{"label":"tsingakbar:master","ref":"master","sha":"ddac56b6750eed61485457ad33912bb9e93fc789","user":{"login":"tsingakbar","id":7518735,"avatar_url":"https://avatars.githubusercontent.com/u/7518735?v=3","gravatar_id":"","url":"https://api.github.com/users/tsingakbar","html_url":"https://github.com/tsingakbar","followers_url":"https://api.github.com/users/tsingakbar/followers","following_url":"https://api.github.com/users/tsingakbar/following{/other_user}","gists_url":"https://api.github.com/users/tsingakbar/gists{/gist_id}","starred_url":"https://api.github.com/users/tsingakbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsingakbar/subscriptions","organizations_url":"https://api.github.com/users/tsingakbar/orgs","repos_url":"https://api.github.com/users/tsingakbar/repos","events_url":"https://api.github.com/users/tsingakbar/events{/privacy}","received_events_url":"https://api.github.com/users/tsingakbar/received_events","type":"User","site_admin":false},"repo":{"id":58708300,"name":"xonsh","full_name":"tsingakbar/xonsh","owner":{"login":"tsingakbar","id":7518735,"avatar_url":"https://avatars.githubusercontent.com/u/7518735?v=3","gravatar_id":"","url":"https://api.github.com/users/tsingakbar","html_url":"https://github.com/tsingakbar","followers_url":"https://api.github.com/users/tsingakbar/followers","following_url":"https://api.github.com/users/tsingakbar/following{/other_user}","gists_url":"https://api.github.com/users/tsingakbar/gists{/gist_id}","starred_url":"https://api.github.com/users/tsingakbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsingakbar/subscriptions","organizations_url":"https://api.github.com/users/tsingakbar/orgs","repos_url":"https://api.github.com/users/tsingakbar/repos","events_url":"https://api.github.com/users/tsingakbar/events{/privacy}","received_events_url":"https://api.github.com/users/tsingakbar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tsingakbar/xonsh","description":"xonsh is a Python-ish, BASHwards-facing shell.","fork":true,"url":"https://api.github.com/repos/tsingakbar/xonsh","forks_url":"https://api.github.com/repos/tsingakbar/xonsh/forks","keys_url":"https://api.github.com/repos/tsingakbar/xonsh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsingakbar/xonsh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsingakbar/xonsh/teams","hooks_url":"https://api.github.com/repos/tsingakbar/xonsh/hooks","issue_events_url":"https://api.github.com/repos/tsingakbar/xonsh/issues/events{/number}","events_url":"https://api.github.com/repos/tsingakbar/xonsh/events","assignees_url":"https://api.github.com/repos/tsingakbar/xonsh/assignees{/user}","branches_url":"https://api.github.com/repos/tsingakbar/xonsh/branches{/branch}","tags_url":"https://api.github.com/repos/tsingakbar/xonsh/tags","blobs_url":"https://api.github.com/repos/tsingakbar/xonsh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsingakbar/xonsh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsingakbar/xonsh/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsingakbar/xonsh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsingakbar/xonsh/statuses/{sha}","languages_url":"https://api.github.com/repos/tsingakbar/xonsh/languages","stargazers_url":"https://api.github.com/repos/tsingakbar/xonsh/stargazers","contributors_url":"https://api.github.com/repos/tsingakbar/xonsh/contributors","subscribers_url":"https://api.github.com/repos/tsingakbar/xonsh/subscribers","subscription_url":"https://api.github.com/repos/tsingakbar/xonsh/subscription","commits_url":"https://api.github.com/repos/tsingakbar/xonsh/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsingakbar/xonsh/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsingakbar/xonsh/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsingakbar/xonsh/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsingakbar/xonsh/contents/{+path}","compare_url":"https://api.github.com/repos/tsingakbar/xonsh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsingakbar/xonsh/merges","archive_url":"https://api.github.com/repos/tsingakbar/xonsh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsingakbar/xonsh/downloads","issues_url":"https://api.github.com/repos/tsingakbar/xonsh/issues{/number}","pulls_url":"https://api.github.com/repos/tsingakbar/xonsh/pulls{/number}","milestones_url":"https://api.github.com/repos/tsingakbar/xonsh/milestones{/number}","notifications_url":"https://api.github.com/repos/tsingakbar/xonsh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsingakbar/xonsh/labels{/name}","releases_url":"https://api.github.com/repos/tsingakbar/xonsh/releases{/id}","deployments_url":"https://api.github.com/repos/tsingakbar/xonsh/deployments","created_at":"2016-05-13T06:39:35Z","updated_at":"2016-05-13T06:39:36Z","pushed_at":"2016-05-13T06:43:01Z","git_url":"git://github.com/tsingakbar/xonsh.git","ssh_url":"git@github.com:tsingakbar/xonsh.git","clone_url":"https://github.com/tsingakbar/xonsh.git","svn_url":"https://github.com/tsingakbar/xonsh","homepage":"http://xon.sh","size":4292,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scopatz:master","ref":"master","sha":"f8aff83f4dae7c8e7561c874037991e9dedf0914","user":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"repo":{"id":29620400,"name":"xonsh","full_name":"scopatz/xonsh","owner":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scopatz/xonsh","description":"xonsh is a Python-ish, BASHwards-facing shell.","fork":false,"url":"https://api.github.com/repos/scopatz/xonsh","forks_url":"https://api.github.com/repos/scopatz/xonsh/forks","keys_url":"https://api.github.com/repos/scopatz/xonsh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scopatz/xonsh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scopatz/xonsh/teams","hooks_url":"https://api.github.com/repos/scopatz/xonsh/hooks","issue_events_url":"https://api.github.com/repos/scopatz/xonsh/issues/events{/number}","events_url":"https://api.github.com/repos/scopatz/xonsh/events","assignees_url":"https://api.github.com/repos/scopatz/xonsh/assignees{/user}","branches_url":"https://api.github.com/repos/scopatz/xonsh/branches{/branch}","tags_url":"https://api.github.com/repos/scopatz/xonsh/tags","blobs_url":"https://api.github.com/repos/scopatz/xonsh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scopatz/xonsh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scopatz/xonsh/git/refs{/sha}","trees_url":"https://api.github.com/repos/scopatz/xonsh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scopatz/xonsh/statuses/{sha}","languages_url":"https://api.github.com/repos/scopatz/xonsh/languages","stargazers_url":"https://api.github.com/repos/scopatz/xonsh/stargazers","contributors_url":"https://api.github.com/repos/scopatz/xonsh/contributors","subscribers_url":"https://api.github.com/repos/scopatz/xonsh/subscribers","subscription_url":"https://api.github.com/repos/scopatz/xonsh/subscription","commits_url":"https://api.github.com/repos/scopatz/xonsh/commits{/sha}","git_commits_url":"https://api.github.com/repos/scopatz/xonsh/git/commits{/sha}","comments_url":"https://api.github.com/repos/scopatz/xonsh/comments{/number}","issue_comment_url":"https://api.github.com/repos/scopatz/xonsh/issues/comments{/number}","contents_url":"https://api.github.com/repos/scopatz/xonsh/contents/{+path}","compare_url":"https://api.github.com/repos/scopatz/xonsh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scopatz/xonsh/merges","archive_url":"https://api.github.com/repos/scopatz/xonsh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scopatz/xonsh/downloads","issues_url":"https://api.github.com/repos/scopatz/xonsh/issues{/number}","pulls_url":"https://api.github.com/repos/scopatz/xonsh/pulls{/number}","milestones_url":"https://api.github.com/repos/scopatz/xonsh/milestones{/number}","notifications_url":"https://api.github.com/repos/scopatz/xonsh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scopatz/xonsh/labels{/name}","releases_url":"https://api.github.com/repos/scopatz/xonsh/releases{/id}","deployments_url":"https://api.github.com/repos/scopatz/xonsh/deployments","created_at":"2015-01-21T22:05:27Z","updated_at":"2016-05-13T05:58:17Z","pushed_at":"2016-05-13T06:48:26Z","git_url":"git://github.com/scopatz/xonsh.git","ssh_url":"git@github.com:scopatz/xonsh.git","clone_url":"https://github.com/scopatz/xonsh.git","svn_url":"https://github.com/scopatz/xonsh","homepage":"http://xon.sh","size":5165,"stargazers_count":1057,"watchers_count":1057,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":100,"mirror_url":null,"open_issues_count":129,"forks":100,"open_issues":129,"watchers":1057,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scopatz/xonsh/pulls/878"},"html":{"href":"https://github.com/scopatz/xonsh/pull/878"},"issue":{"href":"https://api.github.com/repos/scopatz/xonsh/issues/878"},"comments":{"href":"https://api.github.com/repos/scopatz/xonsh/issues/878/comments"},"review_comments":{"href":"https://api.github.com/repos/scopatz/xonsh/pulls/878/comments"},"review_comment":{"href":"https://api.github.com/repos/scopatz/xonsh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scopatz/xonsh/pulls/878/commits"},"statuses":{"href":"https://api.github.com/repos/scopatz/xonsh/statuses/ddac56b6750eed61485457ad33912bb9e93fc789"}}}}