{"action":"created","issue":{"url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/issues/80","labels_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/issues/80/comments","events_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/issues/80/events","html_url":"https://github.com/tarruda/zsh-autosuggestions/issues/80","id":112937139,"number":80,"title":"up arrow completion(up-line-or-history) doesn't work","user":{"login":"jzk","id":48630,"avatar_url":"https://avatars.githubusercontent.com/u/48630?v=3","gravatar_id":"","url":"https://api.github.com/users/jzk","html_url":"https://github.com/jzk","followers_url":"https://api.github.com/users/jzk/followers","following_url":"https://api.github.com/users/jzk/following{/other_user}","gists_url":"https://api.github.com/users/jzk/gists{/gist_id}","starred_url":"https://api.github.com/users/jzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzk/subscriptions","organizations_url":"https://api.github.com/users/jzk/orgs","repos_url":"https://api.github.com/users/jzk/repos","events_url":"https://api.github.com/users/jzk/events{/privacy}","received_events_url":"https://api.github.com/users/jzk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-23T03:03:16Z","updated_at":"2016-01-28T22:51:50Z","closed_at":null,"body":"After enabling zsh-autosuggestions, the up arrow key go through history with commands begin with words just typed doesn't work any more.\r\n\r\nIt seem it is disabled here\r\n\r\n```\r\nZLE_AUTOSUGGEST_SUSPEND_WIDGETS=(\r\n\tvi-cmd-mode vi-backward-char backward-char backward-word beginning-of-line\r\n\thistory-search-forward history-search-backward up-line-or-history\r\n```\r\nIs it because some incompatibility? Anyone know what's the alternative we have here? How can I enable it back? Thanks"},"comment":{"url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/issues/comments/176467324","html_url":"https://github.com/tarruda/zsh-autosuggestions/issues/80#issuecomment-176467324","issue_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/issues/80","id":176467324,"user":{"login":"ericfreese","id":79998,"avatar_url":"https://avatars.githubusercontent.com/u/79998?v=3","gravatar_id":"","url":"https://api.github.com/users/ericfreese","html_url":"https://github.com/ericfreese","followers_url":"https://api.github.com/users/ericfreese/followers","following_url":"https://api.github.com/users/ericfreese/following{/other_user}","gists_url":"https://api.github.com/users/ericfreese/gists{/gist_id}","starred_url":"https://api.github.com/users/ericfreese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericfreese/subscriptions","organizations_url":"https://api.github.com/users/ericfreese/orgs","repos_url":"https://api.github.com/users/ericfreese/repos","events_url":"https://api.github.com/users/ericfreese/events{/privacy}","received_events_url":"https://api.github.com/users/ericfreese/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T22:51:50Z","updated_at":"2016-01-28T22:51:50Z","body":"Looks like you're initializing the plugin wrong:\r\n\r\nhttps://gist.github.com/SeanTAllen/b78d1b036139e9f6b4fd#file-zshrc-L239-L242\r\n\r\nTry replacing:\r\n\r\n```\r\nzle-line-init() {\r\n    zle autosuggest_start\r\n}\r\nzle -N zle-line-init\r\n```\r\n\r\nwith:\r\n\r\n```\r\nzle -N zle-line-init autosuggest_start\r\n```\r\n\r\nAnd let me know if you're still having issues. Please be descriptive when describing exactly what problem you're facing.\r\n\r\nCheers"}}