{"id":755,"date":"2016-01-13T12:46:01","date_gmt":"2016-01-13T11:46:01","guid":{"rendered":"http:\/\/www.xcep.net\/blog\/?p=755"},"modified":"2016-09-19T14:04:44","modified_gmt":"2016-09-19T12:04:44","slug":"zsh-z-shell-numpad-aktivieren-oh-my-zsh","status":"publish","type":"post","link":"https:\/\/www.xcep.net\/blog\/zsh-z-shell-numpad-aktivieren-oh-my-zsh\/","title":{"rendered":"Zsh (z shell) Numpad aktivieren (Oh My Zsh)"},"content":{"rendered":"<p>Im Ausgangszustand der <a href=\"http:\/\/ohmyz.sh\/\" target=\"_blank\">Z Shell<\/a> sind die Tasten auf dem Numpad nicht aktiviert.<\/p>\n<p>Wenn man die folgenden Eintr\u00e4ge die Datei ~\/.zshrc aufnimmt und sich einmal neu in die Shell einloggt, funktionieren die Tasten wie gewohnt.<\/p>\n<pre lang=\"conf\"># Numpad\r\n# 0 , Enter\r\nbindkey -s \"^[Op\" \"0\"\r\nbindkey -s \"^[On\" \",\"\r\nbindkey -s \"^[OM\" \"^M\"\r\n# 1 2 3\r\nbindkey -s \"^[Oq\" \"1\"\r\nbindkey -s \"^[Or\" \"2\"\r\nbindkey -s \"^[Os\" \"3\"\r\n# 4 5 6\r\nbindkey -s \"^[Ot\" \"4\"\r\nbindkey -s \"^[Ou\" \"5\"\r\nbindkey -s \"^[Ov\" \"6\"\r\n# 7 8 9\r\nbindkey -s \"^[Ow\" \"7\"\r\nbindkey -s \"^[Ox\" \"8\"\r\nbindkey -s \"^[Oy\" \"9\"\r\n# + -  * \/\r\nbindkey -s \"^[Ol\" \"+\"\r\nbindkey -s \"^[OS\" \"-\"\r\nbindkey -s \"^[OR\" \"*\"\r\nbindkey -s \"^[OQ\" \"\/\"\r\n\r\n# Home \/ End\r\nbindkey \"\\033[1~\" beginning-of-line\r\nbindkey \"\\033[4~\" end-of-line\r\n<\/pre>\n<p>Das hier gezeigte Beispiel funktioniert bei mir ohne Probleme mit einem deutschen Tastaturlayout. Sollte die Tasten nicht funktionieren, k\u00f6nnen die richtigen Bezeichner einfach herausgefunden werden, indem man auf der Shell &#8222;STRG+V&#8220; dr\u00fcckt und anschlie\u00dfend die entsprechende Taste.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Im Ausgangszustand der Z Shell sind die Tasten auf dem Numpad nicht aktiviert. Wenn man die folgenden Eintr\u00e4ge die Datei ~\/.zshrc aufnimmt und sich einmal neu in die Shell einloggt, funktionieren die Tasten wie gewohnt. # Numpad # 0 , Enter bindkey -s &#8222;^[Op&#8220; &#8222;0&#8220; bindkey -s &#8222;^[On&#8220; &#8222;,&#8220; bindkey -s &#8222;^[OM&#8220; &#8222;^M&#8220; # 1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":756,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[439,284,438],"_links":{"self":[{"href":"https:\/\/www.xcep.net\/blog\/wp-json\/wp\/v2\/posts\/755"}],"collection":[{"href":"https:\/\/www.xcep.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xcep.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xcep.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xcep.net\/blog\/wp-json\/wp\/v2\/comments?post=755"}],"version-history":[{"count":3,"href":"https:\/\/www.xcep.net\/blog\/wp-json\/wp\/v2\/posts\/755\/revisions"}],"predecessor-version":[{"id":906,"href":"https:\/\/www.xcep.net\/blog\/wp-json\/wp\/v2\/posts\/755\/revisions\/906"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xcep.net\/blog\/wp-json\/wp\/v2\/media\/756"}],"wp:attachment":[{"href":"https:\/\/www.xcep.net\/blog\/wp-json\/wp\/v2\/media?parent=755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xcep.net\/blog\/wp-json\/wp\/v2\/categories?post=755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xcep.net\/blog\/wp-json\/wp\/v2\/tags?post=755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}