{"action":"closed","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1424","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1424/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1424/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1424/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/1424","id":64854599,"number":1424,"title":"Feature Request: Option to map <Enter> to \"close completions window\"","user":{"login":"calebmeyer","id":3342777,"avatar_url":"https://avatars.githubusercontent.com/u/3342777?v=3","gravatar_id":"","url":"https://api.github.com/users/calebmeyer","html_url":"https://github.com/calebmeyer","followers_url":"https://api.github.com/users/calebmeyer/followers","following_url":"https://api.github.com/users/calebmeyer/following{/other_user}","gists_url":"https://api.github.com/users/calebmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/calebmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebmeyer/subscriptions","organizations_url":"https://api.github.com/users/calebmeyer/orgs","repos_url":"https://api.github.com/users/calebmeyer/repos","events_url":"https://api.github.com/users/calebmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/calebmeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-27T21:25:45Z","updated_at":"2015-03-27T23:41:11Z","closed_at":"2015-03-27T23:41:11Z","body":"I'm a long time user of Sublime Text, and the default behavior for completions there is as follows:\r\ndown-arrow: highlight next completion\r\nup-arrow: highlight previous completion, or regular up arrow behavior if at top of list\r\nTab/Enter (with completions window open): Choose the currently highlighted completion, close the completions window, and place the cursor after the completed text.\r\n\r\nI'd love to be able to use Enter to choose the currently highlighted completion and close the completions window all in one. For passivity, this would likely have to be an option that defaults to off."}}