{"action":"created","issue":{"url":"https://api.github.com/repos/vim/vim/issues/3250","repository_url":"https://api.github.com/repos/vim/vim","labels_url":"https://api.github.com/repos/vim/vim/issues/3250/labels{/name}","comments_url":"https://api.github.com/repos/vim/vim/issues/3250/comments","events_url":"https://api.github.com/repos/vim/vim/issues/3250/events","html_url":"https://github.com/vim/vim/issues/3250","id":344611387,"node_id":"MDU6SXNzdWUzNDQ2MTEzODc=","number":3250,"title":"Make possibility for hybrid line-numbering to enumerate wrapped lines","user":{"login":"Hi-Angel","id":7935057,"node_id":"MDQ6VXNlcjc5MzUwNTc=","avatar_url":"https://avatars0.githubusercontent.com/u/7935057?v=4","gravatar_id":"","url":"https://api.github.com/users/Hi-Angel","html_url":"https://github.com/Hi-Angel","followers_url":"https://api.github.com/users/Hi-Angel/followers","following_url":"https://api.github.com/users/Hi-Angel/following{/other_user}","gists_url":"https://api.github.com/users/Hi-Angel/gists{/gist_id}","starred_url":"https://api.github.com/users/Hi-Angel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hi-Angel/subscriptions","organizations_url":"https://api.github.com/users/Hi-Angel/orgs","repos_url":"https://api.github.com/users/Hi-Angel/repos","events_url":"https://api.github.com/users/Hi-Angel/events{/privacy}","received_events_url":"https://api.github.com/users/Hi-Angel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-07-25T21:19:52Z","updated_at":"2018-10-02T21:20:42Z","closed_at":"2018-10-02T20:22:22Z","author_association":"NONE","body":"When line-wrap enabled, line-numbering only enumerates through \"hard\", newline-ended, lines. It's okay for usual line-numbering; however with hybrid line-numbers it confuses, because when they show the difference, say, as `8` lines, the actual one is often bigger. \r\n\r\nAgain, this might be okay for peoples rarely working with plain text in vim; but those who do typically remap `j` → `gj` and `k` → `gk`, otherwise movement is cumbersome *(e.g. I'm typing this text from an external gvim right now, and have 10 wrapped lines against 3 \"hard\" ones)*, and not having such lines counted confuses.\r\n\r\nAlso, Emacs have had `visual` option, e.g. `(setq-default display-line-numbers 'visual)` for that exact usecase since the very moment they merged hybrid line numbers.\r\n"},"comment":{"url":"https://api.github.com/repos/vim/vim/issues/comments/426434557","html_url":"https://github.com/vim/vim/issues/3250#issuecomment-426434557","issue_url":"https://api.github.com/repos/vim/vim/issues/3250","id":426434557,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjQzNDU1Nw==","user":{"login":"JZL","id":1739784,"node_id":"MDQ6VXNlcjE3Mzk3ODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1739784?v=4","gravatar_id":"","url":"https://api.github.com/users/JZL","html_url":"https://github.com/JZL","followers_url":"https://api.github.com/users/JZL/followers","following_url":"https://api.github.com/users/JZL/following{/other_user}","gists_url":"https://api.github.com/users/JZL/gists{/gist_id}","starred_url":"https://api.github.com/users/JZL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JZL/subscriptions","organizations_url":"https://api.github.com/users/JZL/orgs","repos_url":"https://api.github.com/users/JZL/repos","events_url":"https://api.github.com/users/JZL/events{/privacy}","received_events_url":"https://api.github.com/users/JZL/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T21:20:41Z","updated_at":"2018-10-02T21:20:41Z","author_association":"NONE","body":"I understand what you are saying but I think, especially for an optional flag, that the small amount of confusion would be okay (especially for users who opt into it) and it could be very helpful. I conducted a small survey of my other VIM using friends and they agree they think this would be helpful (that is far from conclusive). I agree with Hi-Angel  that the fact that the hybrid line numbers in the Emacs VIM emulators do this points to the usability of such a feature.\r\n\r\nFor examples like `2dd`, as long as it was consistent, I don't think it makes a difference whether it emulated the whole line (in the way `V` visual mode does) or only the current visual line (`v`). Also, even if this was limited to only navigation, not chained commands, I would find it helpful"}}
{"actor":{"display_login":"JZL"}}