{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/2204","labels_url":"https://api.github.com/repos/neovim/neovim/issues/2204/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/2204/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/2204/events","html_url":"https://github.com/neovim/neovim/issues/2204","id":63302490,"number":2204,"title":"Numpad keys ","user":{"login":"unphased","id":1542910,"avatar_url":"https://avatars.githubusercontent.com/u/1542910?v=3","gravatar_id":"","url":"https://api.github.com/users/unphased","html_url":"https://github.com/unphased","followers_url":"https://api.github.com/users/unphased/followers","following_url":"https://api.github.com/users/unphased/following{/other_user}","gists_url":"https://api.github.com/users/unphased/gists{/gist_id}","starred_url":"https://api.github.com/users/unphased/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unphased/subscriptions","organizations_url":"https://api.github.com/users/unphased/orgs","repos_url":"https://api.github.com/users/unphased/repos","events_url":"https://api.github.com/users/unphased/events{/privacy}","received_events_url":"https://api.github.com/users/unphased/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-20T20:35:13Z","updated_at":"2015-03-20T21:07:18Z","closed_at":null,"body":"Sorry if this has been addressed in docs, but I searched and couldn't find anything. \r\n\r\nin my vimrc I have \r\n\r\n```\r\nset <k0>=^[Op\r\nset <k1>=^[Oq\r\nset <k2>=^[Or\r\nset <k3>=^[Os\r\nset <k4>=^[Ot\r\nset <k5>=^[Ou\r\nset <k6>=^[Ov\r\nset <k7>=^[Ow\r\nset <k8>=^[Ox\r\nset <k9>=^[Oy\r\n\" These '^[' are all \\x1b (\"escape\") chars\r\n```\r\n\r\nThis is mainly being used with vim-mark now (which already has binds for the numpad `<k0-9>` keys). \r\n\r\nHowever I am finding that in neovim, the `set <k0>=` isn't actually successfully setting a keycode (`E846: Key code not set: <k0>`) like it does in Vim. \r\n\r\nIt also appears that the numpad numbers are being interpreted the same as the actual numbers, so it types into the ephemeral number count buffer. Which is otherwise perfectly reasonable, but not the behavior I am looking for.\r\n\r\nSo I am wondering what the proper way to do this is. Has setting keycodes with `set` been abolished? I hope not, but if so, do I then need to come up with some sort of new-style keycode like change whatever is mapped to `<k0>` to use `<m-O-p>` or something?"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/84146464","html_url":"https://github.com/neovim/neovim/issues/2204#issuecomment-84146464","issue_url":"https://api.github.com/repos/neovim/neovim/issues/2204","id":84146464,"user":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T21:07:18Z","updated_at":"2015-03-20T21:07:18Z","body":"What happens if you do this:\r\n\r\n```\r\n:map <k0> :echo 'hi'<cr>\r\n:call feedkeys(\"\\<k0>\")\r\n```"}}