{"action":"closed","issue":{"url":"https://api.github.com/repos/elves/elvish/issues/720","repository_url":"https://api.github.com/repos/elves/elvish","labels_url":"https://api.github.com/repos/elves/elvish/issues/720/labels{/name}","comments_url":"https://api.github.com/repos/elves/elvish/issues/720/comments","events_url":"https://api.github.com/repos/elves/elvish/issues/720/events","html_url":"https://github.com/elves/elvish/issues/720","id":341371477,"node_id":"MDU6SXNzdWUzNDEzNzE0Nzc=","number":720,"title":"Make most readline-bindings default behavior?","user":{"login":"kwshi","id":3887189,"node_id":"MDQ6VXNlcjM4ODcxODk=","avatar_url":"https://avatars3.githubusercontent.com/u/3887189?v=4","gravatar_id":"","url":"https://api.github.com/users/kwshi","html_url":"https://github.com/kwshi","followers_url":"https://api.github.com/users/kwshi/followers","following_url":"https://api.github.com/users/kwshi/following{/other_user}","gists_url":"https://api.github.com/users/kwshi/gists{/gist_id}","starred_url":"https://api.github.com/users/kwshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwshi/subscriptions","organizations_url":"https://api.github.com/users/kwshi/orgs","repos_url":"https://api.github.com/users/kwshi/repos","events_url":"https://api.github.com/users/kwshi/events{/privacy}","received_events_url":"https://api.github.com/users/kwshi/received_events","type":"User","site_admin":false},"labels":[{"id":871078641,"node_id":"MDU6TGFiZWw4NzEwNzg2NDE=","url":"https://api.github.com/repos/elves/elvish/labels/comp:ui","name":"comp:ui","color":"0e8a16","default":false},{"id":327206641,"node_id":"MDU6TGFiZWwzMjcyMDY2NDE=","url":"https://api.github.com/repos/elves/elvish/labels/type:design-change","name":"type:design-change","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-16T01:54:06Z","updated_at":"2018-07-31T21:11:06Z","closed_at":"2018-07-31T21:11:06Z","author_association":"NONE","body":"This is a suggestion, not a bug.\r\n\r\nSo I've noticed two things about the `readline-binding` module.\r\n\r\n1. There are several redundant overlaps in the `readline-binding.elv` and the `binding.elv` source.  A few example are `Alt-f` and `Alt-b`, which, in both files, map to the same thing (`move-dot-left-word`, `move-dot-right-word`, respectively).\r\n2. Several of the non-redundant bindings in `readline-binding.elv`, such as `Ctrl-a` and `Ctrl-e`, are in fact unused in the default `binding.elv` source.\r\n\r\nConsidering that (1) we are already willingly adopting some readline-like behavior as the default, and (2) that some other good, common readline-like behavior can also be used as the default without disrupting existing behavior, why not incorporate as much of `readline-binding.elv` into `binding.elv` as we can, keeping only the conflicting bindings in `readline-binding.elv`.\r\n\r\nI think this would be desirable as it would offer some more-sane defaults to newcomers well-accustomed to said bindings (e.g. `Ctrl-a`, `Ctrl-e`), and also because it would not disrupt the status-quo experience (since these unused bindings are, after all, unused anyway).  Plus, it would be a nice way to consolidate and clean-up the keybinding code a little bit and get rid of some redundancies, and some unnecessary ambiguity down the road."}}
{"actor":{"display_login":"kwshi"}}