====== Keyboard Plugin ====== ===== Informazioni generali ===== Questo plugin consente di visualizare parti del testo come pulsanti. E'utile per quando si sicricono le documentazioni per mostrare le combuinazioni. E' molto simile al tag ... dell' (X)HTML. **Sito:** [[http://foosel.org/snippets/dokuwiki/keyboard | http://foosel.org/snippets/dokuwiki/keyboard]] ===== Sintassi ===== Riporto di seguito la spiegazione presa dal sito originale ... appena avrò tempo la tradurrò in italiano. FIXME Enclose the name of a key, or a combination of keys, separated by a dash (-), in a key tag, like this: Key or C-x * The text inside the **key** tag is split at the occurrences of - (dash). * Each part is //trimmed// (surrounding whitespace removed) and known shortcuts or key names are //substituted//. E.g. **C** becomes **Ctrl**, **Left** becomes **←** etc. * The substitutions are //language specific//. So, e.g. in German, **C** becomes **Strg** and **Del** becomes **Entf**. Only English and German are supported at the moment. Feel free to write additional language files and send them in for inclusion. * If no substitution was found, the first letter is //capitalized// and special HTML chars are replaced with entities. * The substitution table only has key aliases that begin with a capital letter. So lower letters will not be substituted, only capitalized and, for example, **C-c** becomes **Ctrl-C**. * If you want to express the dash (-) key, use **Minus**. * If you don't want any trimming, alias or language substitution, or capitalization, enclose your key name in //single// quotes. \\ **Examples:** * C-A-del to reboot. (<''key''>C-A-del<''/key''>) * C - c to copy text to the clipboard. (<''key''>C - c<''/key''>) * C-x to cut text and put it into the clipboard. (<''key''>C-x<''/key''>) * C-v to paste text from the clipboard. (<''key''>C-v<''/key''>) * C-enter to insert a page break. (<''key''>C-enter<''/key''>) * C-S-Right to select from current cursor position to end of a word. (<''key''>C-S-Right<''/key''>) * C-S-Left to select from current cursor position to the beginning of a word. (<''key''>C-S-Left<''/key''>) * C-PageUp to go one screen page up. (<''key''>C-PageUp<''/key''>) * C-Minus (<''key''>C-Minus<''/key''>) * 'any key' to exit. (<''key''>'any key'<''/key''>) \\