{"action":"opened","issue":{"url":"https://api.github.com/repos/junegunn/fzf/issues/1292","repository_url":"https://api.github.com/repos/junegunn/fzf","labels_url":"https://api.github.com/repos/junegunn/fzf/issues/1292/labels{/name}","comments_url":"https://api.github.com/repos/junegunn/fzf/issues/1292/comments","events_url":"https://api.github.com/repos/junegunn/fzf/issues/1292/events","html_url":"https://github.com/junegunn/fzf/issues/1292","id":323039983,"number":1292,"title":"fzf change the default Ctrl-R behaviours","user":{"login":"guocb","id":967898,"avatar_url":"https://avatars0.githubusercontent.com/u/967898?v=4","gravatar_id":"","url":"https://api.github.com/users/guocb","html_url":"https://github.com/guocb","followers_url":"https://api.github.com/users/guocb/followers","following_url":"https://api.github.com/users/guocb/following{/other_user}","gists_url":"https://api.github.com/users/guocb/gists{/gist_id}","starred_url":"https://api.github.com/users/guocb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guocb/subscriptions","organizations_url":"https://api.github.com/users/guocb/orgs","repos_url":"https://api.github.com/users/guocb/repos","events_url":"https://api.github.com/users/guocb/events{/privacy}","received_events_url":"https://api.github.com/users/guocb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-15T01:59:22Z","updated_at":"2018-05-15T01:59:22Z","closed_at":null,"author_association":"NONE","body":"<!-- Check all that apply [x] -->\r\n- Category\r\n    - [x] fzf binary\r\n    - [ ] fzf-tmux script\r\n    - [x] Key bindings\r\n    - [ ] Completion\r\n    - [ ] Vim\r\n    - [ ] Neovim\r\n    - [ ] Etc.\r\n- OS\r\n    - [x] Linux\r\n    - [ ] Mac OS X\r\n    - [ ] Windows\r\n    - [ ] Windows Subsystem for Linux\r\n    - [ ] Etc.\r\n- Shell\r\n    - [x] bash\r\n    - [ ] zsh\r\n    - [ ] fish\r\n\r\n<!--\r\n### Before submitting\r\n\r\n- Make sure that you have the latest version of fzf\r\n- If you use tmux, make sure $TERM is set to screen or screen-256color\r\n- For more Vim stuff, check out https://github.com/junegunn/fzf.vim\r\n\r\nDescribe your problem or suggestion from here ...\r\n-->\r\n\r\nFzf is a good tool. When press ctrl-r, it list recent command history. However, in vanilla bash environment, the ctrl-r behavior is not only search back in history, it also allow us to type a substring in the current command line and move the cursor to the first match.\r\nI hope fzf can continue to keep this feature. In more specific:\r\n1. when current command is empty, press ctrl-r ==> list command history\r\n2. when current command isn't empty, press ctrl-r ==> start to match in the current command line of the string typed later."}}
{"actor":{"display_login":"guocb"}}