{"action":"closed","number":71,"pull_request":{"url":"https://api.github.com/repos/svermeulen/vim-easyclip/pulls/71","id":53861747,"html_url":"https://github.com/svermeulen/vim-easyclip/pull/71","diff_url":"https://github.com/svermeulen/vim-easyclip/pull/71.diff","patch_url":"https://github.com/svermeulen/vim-easyclip/pull/71.patch","issue_url":"https://api.github.com/repos/svermeulen/vim-easyclip/issues/71","number":71,"state":"closed","locked":false,"title":"Another fix for characterwise Visual mode paste","user":{"login":"Coacher","id":1401448,"avatar_url":"https://avatars.githubusercontent.com/u/1401448?v=3","gravatar_id":"","url":"https://api.github.com/users/Coacher","html_url":"https://github.com/Coacher","followers_url":"https://api.github.com/users/Coacher/followers","following_url":"https://api.github.com/users/Coacher/following{/other_user}","gists_url":"https://api.github.com/users/Coacher/gists{/gist_id}","starred_url":"https://api.github.com/users/Coacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coacher/subscriptions","organizations_url":"https://api.github.com/users/Coacher/orgs","repos_url":"https://api.github.com/users/Coacher/repos","events_url":"https://api.github.com/users/Coacher/events{/privacy}","received_events_url":"https://api.github.com/users/Coacher/received_events","type":"User","site_admin":false},"body":"Guess who's back?\r\n\r\nIf the selection ends at the EOL character of a line and the next line\r\nis empty (`^$`), then after deletion the cursor is placed on the\r\nprevious character before the first character of the selection. Thus in\r\nthis case we should do pasting after, not before.\r\n\r\nNote that if `lnum` points to the last line, then `col([lnum + 1, '$'])`\r\nreturns `0`. So there is no need for an additional check if we are on\r\nthe last line.\r\n\r\nI've added the relevant info and example at https://github.com/svermeulen/vim-easyclip/wiki/Details-of-Visual-mode-paste#characterwise-visual-mode","created_at":"2015-12-16T16:11:24Z","updated_at":"2015-12-17T19:48:52Z","closed_at":"2015-12-17T19:48:52Z","merged_at":"2015-12-17T19:48:52Z","merge_commit_sha":"e9c24a8150d13f6aa1dddf2cee0e62e7f525f941","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/svermeulen/vim-easyclip/pulls/71/commits","review_comments_url":"https://api.github.com/repos/svermeulen/vim-easyclip/pulls/71/comments","review_comment_url":"https://api.github.com/repos/svermeulen/vim-easyclip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/svermeulen/vim-easyclip/issues/71/comments","statuses_url":"https://api.github.com/repos/svermeulen/vim-easyclip/statuses/bbadc41c5690f4189c48bba4f30f823de734a17f","head":{"label":"Coacher:master","ref":"master","sha":"bbadc41c5690f4189c48bba4f30f823de734a17f","user":{"login":"Coacher","id":1401448,"avatar_url":"https://avatars.githubusercontent.com/u/1401448?v=3","gravatar_id":"","url":"https://api.github.com/users/Coacher","html_url":"https://github.com/Coacher","followers_url":"https://api.github.com/users/Coacher/followers","following_url":"https://api.github.com/users/Coacher/following{/other_user}","gists_url":"https://api.github.com/users/Coacher/gists{/gist_id}","starred_url":"https://api.github.com/users/Coacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coacher/subscriptions","organizations_url":"https://api.github.com/users/Coacher/orgs","repos_url":"https://api.github.com/users/Coacher/repos","events_url":"https://api.github.com/users/Coacher/events{/privacy}","received_events_url":"https://api.github.com/users/Coacher/received_events","type":"User","site_admin":false},"repo":{"id":48120413,"name":"vim-easyclip","full_name":"Coacher/vim-easyclip","owner":{"login":"Coacher","id":1401448,"avatar_url":"https://avatars.githubusercontent.com/u/1401448?v=3","gravatar_id":"","url":"https://api.github.com/users/Coacher","html_url":"https://github.com/Coacher","followers_url":"https://api.github.com/users/Coacher/followers","following_url":"https://api.github.com/users/Coacher/following{/other_user}","gists_url":"https://api.github.com/users/Coacher/gists{/gist_id}","starred_url":"https://api.github.com/users/Coacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coacher/subscriptions","organizations_url":"https://api.github.com/users/Coacher/orgs","repos_url":"https://api.github.com/users/Coacher/repos","events_url":"https://api.github.com/users/Coacher/events{/privacy}","received_events_url":"https://api.github.com/users/Coacher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Coacher/vim-easyclip","description":"Simplified clipboard functionality for Vim","fork":true,"url":"https://api.github.com/repos/Coacher/vim-easyclip","forks_url":"https://api.github.com/repos/Coacher/vim-easyclip/forks","keys_url":"https://api.github.com/repos/Coacher/vim-easyclip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Coacher/vim-easyclip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Coacher/vim-easyclip/teams","hooks_url":"https://api.github.com/repos/Coacher/vim-easyclip/hooks","issue_events_url":"https://api.github.com/repos/Coacher/vim-easyclip/issues/events{/number}","events_url":"https://api.github.com/repos/Coacher/vim-easyclip/events","assignees_url":"https://api.github.com/repos/Coacher/vim-easyclip/assignees{/user}","branches_url":"https://api.github.com/repos/Coacher/vim-easyclip/branches{/branch}","tags_url":"https://api.github.com/repos/Coacher/vim-easyclip/tags","blobs_url":"https://api.github.com/repos/Coacher/vim-easyclip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Coacher/vim-easyclip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Coacher/vim-easyclip/git/refs{/sha}","trees_url":"https://api.github.com/repos/Coacher/vim-easyclip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Coacher/vim-easyclip/statuses/{sha}","languages_url":"https://api.github.com/repos/Coacher/vim-easyclip/languages","stargazers_url":"https://api.github.com/repos/Coacher/vim-easyclip/stargazers","contributors_url":"https://api.github.com/repos/Coacher/vim-easyclip/contributors","subscribers_url":"https://api.github.com/repos/Coacher/vim-easyclip/subscribers","subscription_url":"https://api.github.com/repos/Coacher/vim-easyclip/subscription","commits_url":"https://api.github.com/repos/Coacher/vim-easyclip/commits{/sha}","git_commits_url":"https://api.github.com/repos/Coacher/vim-easyclip/git/commits{/sha}","comments_url":"https://api.github.com/repos/Coacher/vim-easyclip/comments{/number}","issue_comment_url":"https://api.github.com/repos/Coacher/vim-easyclip/issues/comments{/number}","contents_url":"https://api.github.com/repos/Coacher/vim-easyclip/contents/{+path}","compare_url":"https://api.github.com/repos/Coacher/vim-easyclip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Coacher/vim-easyclip/merges","archive_url":"https://api.github.com/repos/Coacher/vim-easyclip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Coacher/vim-easyclip/downloads","issues_url":"https://api.github.com/repos/Coacher/vim-easyclip/issues{/number}","pulls_url":"https://api.github.com/repos/Coacher/vim-easyclip/pulls{/number}","milestones_url":"https://api.github.com/repos/Coacher/vim-easyclip/milestones{/number}","notifications_url":"https://api.github.com/repos/Coacher/vim-easyclip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Coacher/vim-easyclip/labels{/name}","releases_url":"https://api.github.com/repos/Coacher/vim-easyclip/releases{/id}","created_at":"2015-12-16T16:01:06Z","updated_at":"2015-12-16T16:01:06Z","pushed_at":"2015-12-16T16:50:38Z","git_url":"git://github.com/Coacher/vim-easyclip.git","ssh_url":"git@github.com:Coacher/vim-easyclip.git","clone_url":"https://github.com/Coacher/vim-easyclip.git","svn_url":"https://github.com/Coacher/vim-easyclip","homepage":null,"size":255,"stargazers_count":0,"watchers_count":0,"language":"VimL","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":"svermeulen:master","ref":"master","sha":"d8e9cc1b4af362d039aeac7a2ba59e2769f33079","user":{"login":"svermeulen","id":810762,"avatar_url":"https://avatars.githubusercontent.com/u/810762?v=3","gravatar_id":"","url":"https://api.github.com/users/svermeulen","html_url":"https://github.com/svermeulen","followers_url":"https://api.github.com/users/svermeulen/followers","following_url":"https://api.github.com/users/svermeulen/following{/other_user}","gists_url":"https://api.github.com/users/svermeulen/gists{/gist_id}","starred_url":"https://api.github.com/users/svermeulen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svermeulen/subscriptions","organizations_url":"https://api.github.com/users/svermeulen/orgs","repos_url":"https://api.github.com/users/svermeulen/repos","events_url":"https://api.github.com/users/svermeulen/events{/privacy}","received_events_url":"https://api.github.com/users/svermeulen/received_events","type":"User","site_admin":false},"repo":{"id":11271193,"name":"vim-easyclip","full_name":"svermeulen/vim-easyclip","owner":{"login":"svermeulen","id":810762,"avatar_url":"https://avatars.githubusercontent.com/u/810762?v=3","gravatar_id":"","url":"https://api.github.com/users/svermeulen","html_url":"https://github.com/svermeulen","followers_url":"https://api.github.com/users/svermeulen/followers","following_url":"https://api.github.com/users/svermeulen/following{/other_user}","gists_url":"https://api.github.com/users/svermeulen/gists{/gist_id}","starred_url":"https://api.github.com/users/svermeulen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svermeulen/subscriptions","organizations_url":"https://api.github.com/users/svermeulen/orgs","repos_url":"https://api.github.com/users/svermeulen/repos","events_url":"https://api.github.com/users/svermeulen/events{/privacy}","received_events_url":"https://api.github.com/users/svermeulen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/svermeulen/vim-easyclip","description":"Simplified clipboard functionality for Vim","fork":false,"url":"https://api.github.com/repos/svermeulen/vim-easyclip","forks_url":"https://api.github.com/repos/svermeulen/vim-easyclip/forks","keys_url":"https://api.github.com/repos/svermeulen/vim-easyclip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/svermeulen/vim-easyclip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/svermeulen/vim-easyclip/teams","hooks_url":"https://api.github.com/repos/svermeulen/vim-easyclip/hooks","issue_events_url":"https://api.github.com/repos/svermeulen/vim-easyclip/issues/events{/number}","events_url":"https://api.github.com/repos/svermeulen/vim-easyclip/events","assignees_url":"https://api.github.com/repos/svermeulen/vim-easyclip/assignees{/user}","branches_url":"https://api.github.com/repos/svermeulen/vim-easyclip/branches{/branch}","tags_url":"https://api.github.com/repos/svermeulen/vim-easyclip/tags","blobs_url":"https://api.github.com/repos/svermeulen/vim-easyclip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/svermeulen/vim-easyclip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/svermeulen/vim-easyclip/git/refs{/sha}","trees_url":"https://api.github.com/repos/svermeulen/vim-easyclip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/svermeulen/vim-easyclip/statuses/{sha}","languages_url":"https://api.github.com/repos/svermeulen/vim-easyclip/languages","stargazers_url":"https://api.github.com/repos/svermeulen/vim-easyclip/stargazers","contributors_url":"https://api.github.com/repos/svermeulen/vim-easyclip/contributors","subscribers_url":"https://api.github.com/repos/svermeulen/vim-easyclip/subscribers","subscription_url":"https://api.github.com/repos/svermeulen/vim-easyclip/subscription","commits_url":"https://api.github.com/repos/svermeulen/vim-easyclip/commits{/sha}","git_commits_url":"https://api.github.com/repos/svermeulen/vim-easyclip/git/commits{/sha}","comments_url":"https://api.github.com/repos/svermeulen/vim-easyclip/comments{/number}","issue_comment_url":"https://api.github.com/repos/svermeulen/vim-easyclip/issues/comments{/number}","contents_url":"https://api.github.com/repos/svermeulen/vim-easyclip/contents/{+path}","compare_url":"https://api.github.com/repos/svermeulen/vim-easyclip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/svermeulen/vim-easyclip/merges","archive_url":"https://api.github.com/repos/svermeulen/vim-easyclip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/svermeulen/vim-easyclip/downloads","issues_url":"https://api.github.com/repos/svermeulen/vim-easyclip/issues{/number}","pulls_url":"https://api.github.com/repos/svermeulen/vim-easyclip/pulls{/number}","milestones_url":"https://api.github.com/repos/svermeulen/vim-easyclip/milestones{/number}","notifications_url":"https://api.github.com/repos/svermeulen/vim-easyclip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/svermeulen/vim-easyclip/labels{/name}","releases_url":"https://api.github.com/repos/svermeulen/vim-easyclip/releases{/id}","created_at":"2013-07-09T02:49:37Z","updated_at":"2015-12-16T10:42:31Z","pushed_at":"2015-12-17T19:48:52Z","git_url":"git://github.com/svermeulen/vim-easyclip.git","ssh_url":"git@github.com:svermeulen/vim-easyclip.git","clone_url":"https://github.com/svermeulen/vim-easyclip.git","svn_url":"https://github.com/svermeulen/vim-easyclip","homepage":null,"size":263,"stargazers_count":229,"watchers_count":229,"language":"VimL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":9,"forks":9,"open_issues":9,"watchers":229,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/svermeulen/vim-easyclip/pulls/71"},"html":{"href":"https://github.com/svermeulen/vim-easyclip/pull/71"},"issue":{"href":"https://api.github.com/repos/svermeulen/vim-easyclip/issues/71"},"comments":{"href":"https://api.github.com/repos/svermeulen/vim-easyclip/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/svermeulen/vim-easyclip/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/svermeulen/vim-easyclip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/svermeulen/vim-easyclip/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/svermeulen/vim-easyclip/statuses/bbadc41c5690f4189c48bba4f30f823de734a17f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"svermeulen","id":810762,"avatar_url":"https://avatars.githubusercontent.com/u/810762?v=3","gravatar_id":"","url":"https://api.github.com/users/svermeulen","html_url":"https://github.com/svermeulen","followers_url":"https://api.github.com/users/svermeulen/followers","following_url":"https://api.github.com/users/svermeulen/following{/other_user}","gists_url":"https://api.github.com/users/svermeulen/gists{/gist_id}","starred_url":"https://api.github.com/users/svermeulen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svermeulen/subscriptions","organizations_url":"https://api.github.com/users/svermeulen/orgs","repos_url":"https://api.github.com/users/svermeulen/repos","events_url":"https://api.github.com/users/svermeulen/events{/privacy}","received_events_url":"https://api.github.com/users/svermeulen/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":1}}