{"action":"created","comment":{"url":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/comments/230806107","pull_request_review_id":171626506,"id":230806107,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDgwNjEwNw==","diff_hunk":"@@ -0,0 +1,34 @@\n+﻿using System.IO;\r\n+using System.Management.Automation.Language;\r\n+using Microsoft.PowerShell;\r\n+using Xunit;\r\n+\r\n+namespace Test\r\n+{\r\n+    using _ = Keys;\r\n+\r\n+    public partial class ReadLine\r\n+    {\r\n+        [Fact]\r\n+        public void ViMoveToFirstLine()\r\n+        {\r\n+            TestSetup(KeyMode.Vi);\r\n+\r\n+            const string buffer = \"\\\"Multiline buffer\\n containing an empty line\\n\\nand text aligned on the left\\n\\\"\";\r\n+\r\n+            var continuationPrefixLength = PSConsoleReadLineOptions.DefaultContinuationPrompt.Length;\r\n+\r\n+            Test(buffer, Keys(\r\n+                _.DQuote, \"Multiline buffer\", _.Enter,\r\n+                \" containing an empty line\", _.Enter,\r\n+                _.Enter,\r\n+                \"and text aligned on the left\", _.Enter,\r\n+                _.DQuote,\r\n+                _.Escape, CheckThat(() => AssertCursorTopIs(4)),\r\n+                \"gg\", CheckThat(() => AssertCursorLeftTopIs(0, 0)),\r\n+                'G', CheckThat(() => AssertCursorLeftTopIs(continuationPrefixLength, 4))\r\n+            ));\r\n+\r","path":"test/MovementTest.VI.Multiline.cs","position":31,"original_position":31,"commit_id":"b864f37e08615d1112167938064e4dc792ac8e7e","original_commit_id":"b864f37e08615d1112167938064e4dc792ac8e7e","user":{"login":"springcomp","id":8488398,"node_id":"MDQ6VXNlcjg0ODgzOTg=","avatar_url":"https://avatars1.githubusercontent.com/u/8488398?v=4","gravatar_id":"","url":"https://api.github.com/users/springcomp","html_url":"https://github.com/springcomp","followers_url":"https://api.github.com/users/springcomp/followers","following_url":"https://api.github.com/users/springcomp/following{/other_user}","gists_url":"https://api.github.com/users/springcomp/gists{/gist_id}","starred_url":"https://api.github.com/users/springcomp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springcomp/subscriptions","organizations_url":"https://api.github.com/users/springcomp/orgs","repos_url":"https://api.github.com/users/springcomp/repos","events_url":"https://api.github.com/users/springcomp/events{/privacy}","received_events_url":"https://api.github.com/users/springcomp/received_events","type":"User","site_admin":false},"body":"I will make sure to cover those tests as well, thank you.","created_at":"2018-11-05T16:01:00Z","updated_at":"2018-11-05T16:01:00Z","html_url":"https://github.com/lzybkr/PSReadLine/pull/793#discussion_r230806107","pull_request_url":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/793","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/comments/230806107"},"html":{"href":"https://github.com/lzybkr/PSReadLine/pull/793#discussion_r230806107"},"pull_request":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/793"}},"in_reply_to_id":230630066},"pull_request":{"url":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/793","id":228179484,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MTc5NDg0","html_url":"https://github.com/lzybkr/PSReadLine/pull/793","diff_url":"https://github.com/lzybkr/PSReadLine/pull/793.diff","patch_url":"https://github.com/lzybkr/PSReadLine/pull/793.patch","issue_url":"https://api.github.com/repos/lzybkr/PSReadLine/issues/793","number":793,"state":"open","locked":false,"title":"New - Support 'G' and 'gg' movements in multi-line buffers.","user":{"login":"springcomp","id":8488398,"node_id":"MDQ6VXNlcjg0ODgzOTg=","avatar_url":"https://avatars1.githubusercontent.com/u/8488398?v=4","gravatar_id":"","url":"https://api.github.com/users/springcomp","html_url":"https://github.com/springcomp","followers_url":"https://api.github.com/users/springcomp/followers","following_url":"https://api.github.com/users/springcomp/following{/other_user}","gists_url":"https://api.github.com/users/springcomp/gists{/gist_id}","starred_url":"https://api.github.com/users/springcomp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springcomp/subscriptions","organizations_url":"https://api.github.com/users/springcomp/orgs","repos_url":"https://api.github.com/users/springcomp/repos","events_url":"https://api.github.com/users/springcomp/events{/privacy}","received_events_url":"https://api.github.com/users/springcomp/received_events","type":"User","site_admin":false},"body":"As discussed, in [#789](https://github.com/lzybkr/PSReadLine/issues/789) here is a pull request, and accompanying test.\r\n\r\nThis supports <kbd>G</kbd> and <kbd>gg</kbd> movements to, respectively, move to the end or the beginning of a multiline buffer.\r\n\r\nPlease, let me know if I need to provide more informations or put some more work into this pull request.","created_at":"2018-11-04T14:15:49Z","updated_at":"2018-11-05T16:01:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bff95987020cb38fdeca3f45cebcfc39953ee03f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/793/commits","review_comments_url":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/793/comments","review_comment_url":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lzybkr/PSReadLine/issues/793/comments","statuses_url":"https://api.github.com/repos/lzybkr/PSReadLine/statuses/b864f37e08615d1112167938064e4dc792ac8e7e","head":{"label":"springcomp:master","ref":"master","sha":"b864f37e08615d1112167938064e4dc792ac8e7e","user":{"login":"springcomp","id":8488398,"node_id":"MDQ6VXNlcjg0ODgzOTg=","avatar_url":"https://avatars1.githubusercontent.com/u/8488398?v=4","gravatar_id":"","url":"https://api.github.com/users/springcomp","html_url":"https://github.com/springcomp","followers_url":"https://api.github.com/users/springcomp/followers","following_url":"https://api.github.com/users/springcomp/following{/other_user}","gists_url":"https://api.github.com/users/springcomp/gists{/gist_id}","starred_url":"https://api.github.com/users/springcomp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springcomp/subscriptions","organizations_url":"https://api.github.com/users/springcomp/orgs","repos_url":"https://api.github.com/users/springcomp/repos","events_url":"https://api.github.com/users/springcomp/events{/privacy}","received_events_url":"https://api.github.com/users/springcomp/received_events","type":"User","site_admin":false},"repo":{"id":155566123,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU1NjYxMjM=","name":"PSReadLine","full_name":"springcomp/PSReadLine","private":false,"owner":{"login":"springcomp","id":8488398,"node_id":"MDQ6VXNlcjg0ODgzOTg=","avatar_url":"https://avatars1.githubusercontent.com/u/8488398?v=4","gravatar_id":"","url":"https://api.github.com/users/springcomp","html_url":"https://github.com/springcomp","followers_url":"https://api.github.com/users/springcomp/followers","following_url":"https://api.github.com/users/springcomp/following{/other_user}","gists_url":"https://api.github.com/users/springcomp/gists{/gist_id}","starred_url":"https://api.github.com/users/springcomp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springcomp/subscriptions","organizations_url":"https://api.github.com/users/springcomp/orgs","repos_url":"https://api.github.com/users/springcomp/repos","events_url":"https://api.github.com/users/springcomp/events{/privacy}","received_events_url":"https://api.github.com/users/springcomp/received_events","type":"User","site_admin":false},"html_url":"https://github.com/springcomp/PSReadLine","description":"A bash inspired readline implementation for PowerShell","fork":true,"url":"https://api.github.com/repos/springcomp/PSReadLine","forks_url":"https://api.github.com/repos/springcomp/PSReadLine/forks","keys_url":"https://api.github.com/repos/springcomp/PSReadLine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/springcomp/PSReadLine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/springcomp/PSReadLine/teams","hooks_url":"https://api.github.com/repos/springcomp/PSReadLine/hooks","issue_events_url":"https://api.github.com/repos/springcomp/PSReadLine/issues/events{/number}","events_url":"https://api.github.com/repos/springcomp/PSReadLine/events","assignees_url":"https://api.github.com/repos/springcomp/PSReadLine/assignees{/user}","branches_url":"https://api.github.com/repos/springcomp/PSReadLine/branches{/branch}","tags_url":"https://api.github.com/repos/springcomp/PSReadLine/tags","blobs_url":"https://api.github.com/repos/springcomp/PSReadLine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/springcomp/PSReadLine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/springcomp/PSReadLine/git/refs{/sha}","trees_url":"https://api.github.com/repos/springcomp/PSReadLine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/springcomp/PSReadLine/statuses/{sha}","languages_url":"https://api.github.com/repos/springcomp/PSReadLine/languages","stargazers_url":"https://api.github.com/repos/springcomp/PSReadLine/stargazers","contributors_url":"https://api.github.com/repos/springcomp/PSReadLine/contributors","subscribers_url":"https://api.github.com/repos/springcomp/PSReadLine/subscribers","subscription_url":"https://api.github.com/repos/springcomp/PSReadLine/subscription","commits_url":"https://api.github.com/repos/springcomp/PSReadLine/commits{/sha}","git_commits_url":"https://api.github.com/repos/springcomp/PSReadLine/git/commits{/sha}","comments_url":"https://api.github.com/repos/springcomp/PSReadLine/comments{/number}","issue_comment_url":"https://api.github.com/repos/springcomp/PSReadLine/issues/comments{/number}","contents_url":"https://api.github.com/repos/springcomp/PSReadLine/contents/{+path}","compare_url":"https://api.github.com/repos/springcomp/PSReadLine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/springcomp/PSReadLine/merges","archive_url":"https://api.github.com/repos/springcomp/PSReadLine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/springcomp/PSReadLine/downloads","issues_url":"https://api.github.com/repos/springcomp/PSReadLine/issues{/number}","pulls_url":"https://api.github.com/repos/springcomp/PSReadLine/pulls{/number}","milestones_url":"https://api.github.com/repos/springcomp/PSReadLine/milestones{/number}","notifications_url":"https://api.github.com/repos/springcomp/PSReadLine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/springcomp/PSReadLine/labels{/name}","releases_url":"https://api.github.com/repos/springcomp/PSReadLine/releases{/id}","deployments_url":"https://api.github.com/repos/springcomp/PSReadLine/deployments","created_at":"2018-10-31T13:55:17Z","updated_at":"2018-11-04T14:06:46Z","pushed_at":"2018-11-04T14:06:44Z","git_url":"git://github.com/springcomp/PSReadLine.git","ssh_url":"git@github.com:springcomp/PSReadLine.git","clone_url":"https://github.com/springcomp/PSReadLine.git","svn_url":"https://github.com/springcomp/PSReadLine","homepage":"","size":1925,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lzybkr:master","ref":"master","sha":"14ddf0c0325776482bd28c1e99b83346478d5070","user":{"login":"lzybkr","id":2148248,"node_id":"MDQ6VXNlcjIxNDgyNDg=","avatar_url":"https://avatars3.githubusercontent.com/u/2148248?v=4","gravatar_id":"","url":"https://api.github.com/users/lzybkr","html_url":"https://github.com/lzybkr","followers_url":"https://api.github.com/users/lzybkr/followers","following_url":"https://api.github.com/users/lzybkr/following{/other_user}","gists_url":"https://api.github.com/users/lzybkr/gists{/gist_id}","starred_url":"https://api.github.com/users/lzybkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzybkr/subscriptions","organizations_url":"https://api.github.com/users/lzybkr/orgs","repos_url":"https://api.github.com/users/lzybkr/repos","events_url":"https://api.github.com/users/lzybkr/events{/privacy}","received_events_url":"https://api.github.com/users/lzybkr/received_events","type":"User","site_admin":false},"repo":{"id":10025737,"node_id":"MDEwOlJlcG9zaXRvcnkxMDAyNTczNw==","name":"PSReadLine","full_name":"lzybkr/PSReadLine","private":false,"owner":{"login":"lzybkr","id":2148248,"node_id":"MDQ6VXNlcjIxNDgyNDg=","avatar_url":"https://avatars3.githubusercontent.com/u/2148248?v=4","gravatar_id":"","url":"https://api.github.com/users/lzybkr","html_url":"https://github.com/lzybkr","followers_url":"https://api.github.com/users/lzybkr/followers","following_url":"https://api.github.com/users/lzybkr/following{/other_user}","gists_url":"https://api.github.com/users/lzybkr/gists{/gist_id}","starred_url":"https://api.github.com/users/lzybkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzybkr/subscriptions","organizations_url":"https://api.github.com/users/lzybkr/orgs","repos_url":"https://api.github.com/users/lzybkr/repos","events_url":"https://api.github.com/users/lzybkr/events{/privacy}","received_events_url":"https://api.github.com/users/lzybkr/received_events","type":"User","site_admin":false},"html_url":"https://github.com/lzybkr/PSReadLine","description":"A bash inspired readline implementation for PowerShell","fork":false,"url":"https://api.github.com/repos/lzybkr/PSReadLine","forks_url":"https://api.github.com/repos/lzybkr/PSReadLine/forks","keys_url":"https://api.github.com/repos/lzybkr/PSReadLine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lzybkr/PSReadLine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lzybkr/PSReadLine/teams","hooks_url":"https://api.github.com/repos/lzybkr/PSReadLine/hooks","issue_events_url":"https://api.github.com/repos/lzybkr/PSReadLine/issues/events{/number}","events_url":"https://api.github.com/repos/lzybkr/PSReadLine/events","assignees_url":"https://api.github.com/repos/lzybkr/PSReadLine/assignees{/user}","branches_url":"https://api.github.com/repos/lzybkr/PSReadLine/branches{/branch}","tags_url":"https://api.github.com/repos/lzybkr/PSReadLine/tags","blobs_url":"https://api.github.com/repos/lzybkr/PSReadLine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lzybkr/PSReadLine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lzybkr/PSReadLine/git/refs{/sha}","trees_url":"https://api.github.com/repos/lzybkr/PSReadLine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lzybkr/PSReadLine/statuses/{sha}","languages_url":"https://api.github.com/repos/lzybkr/PSReadLine/languages","stargazers_url":"https://api.github.com/repos/lzybkr/PSReadLine/stargazers","contributors_url":"https://api.github.com/repos/lzybkr/PSReadLine/contributors","subscribers_url":"https://api.github.com/repos/lzybkr/PSReadLine/subscribers","subscription_url":"https://api.github.com/repos/lzybkr/PSReadLine/subscription","commits_url":"https://api.github.com/repos/lzybkr/PSReadLine/commits{/sha}","git_commits_url":"https://api.github.com/repos/lzybkr/PSReadLine/git/commits{/sha}","comments_url":"https://api.github.com/repos/lzybkr/PSReadLine/comments{/number}","issue_comment_url":"https://api.github.com/repos/lzybkr/PSReadLine/issues/comments{/number}","contents_url":"https://api.github.com/repos/lzybkr/PSReadLine/contents/{+path}","compare_url":"https://api.github.com/repos/lzybkr/PSReadLine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lzybkr/PSReadLine/merges","archive_url":"https://api.github.com/repos/lzybkr/PSReadLine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lzybkr/PSReadLine/downloads","issues_url":"https://api.github.com/repos/lzybkr/PSReadLine/issues{/number}","pulls_url":"https://api.github.com/repos/lzybkr/PSReadLine/pulls{/number}","milestones_url":"https://api.github.com/repos/lzybkr/PSReadLine/milestones{/number}","notifications_url":"https://api.github.com/repos/lzybkr/PSReadLine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lzybkr/PSReadLine/labels{/name}","releases_url":"https://api.github.com/repos/lzybkr/PSReadLine/releases{/id}","deployments_url":"https://api.github.com/repos/lzybkr/PSReadLine/deployments","created_at":"2013-05-13T06:39:28Z","updated_at":"2018-11-05T03:12:55Z","pushed_at":"2018-11-05T05:29:33Z","git_url":"git://github.com/lzybkr/PSReadLine.git","ssh_url":"git@github.com:lzybkr/PSReadLine.git","clone_url":"https://github.com/lzybkr/PSReadLine.git","svn_url":"https://github.com/lzybkr/PSReadLine","homepage":"","size":1936,"stargazers_count":1129,"watchers_count":1129,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":119,"mirror_url":null,"archived":false,"open_issues_count":115,"license":null,"forks":119,"open_issues":115,"watchers":1129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/793"},"html":{"href":"https://github.com/lzybkr/PSReadLine/pull/793"},"issue":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/issues/793"},"comments":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/issues/793/comments"},"review_comments":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/793/comments"},"review_comment":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/793/commits"},"statuses":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/statuses/b864f37e08615d1112167938064e4dc792ac8e7e"}},"author_association":"NONE"}}
{"actor":{"display_login":"springcomp"}}