| | 1 | [[PageOutline(1,3)]] |
| | 2 | = Neo und Vim = |
| | 3 | |
| | 4 | '''Es gibt mittlerweile mit [wiki:V2 V2] ein Speziallayout, das sich hervorragend für die Arbeit mit vim eignet.''' |
| | 5 | |
| | 6 | == Das Numpad funktioniert nicht == |
| | 7 | Das ist kein Neo-spezifisches Problem. Der Fehler ist seit Jahren bekannt und tritt bei sämtlichen integrierten Numpads auf.[[BR]] |
| | 8 | Für Nutzer von xterm und urxvt gibt es im [http://wiki.neo-layout.org/ticket/182 Bugreport] Abhilfe: |
| | 9 | |
| | 10 | == xterm == |
| | 11 | |
| | 12 | {{{ |
| | 13 | Für xterm ergänzt man die VT100-Translations: |
| | 14 | |
| | 15 | XTerm*VT100.translations: \ |
| | 16 | :<KeyPress> KP_Add:string("+") \n\ |
| | 17 | :<KeyPress> KP_Subtract:string("-") \n\ |
| | 18 | :<KeyPress> KP_Multiply:string("*") \n\ |
| | 19 | :<KeyPress> KP_Divide:string("/") \n\ |
| | 20 | :<KeyPress> KP_Decimal:string(".") \n\ |
| | 21 | :<KeyPress> KP_Separator:string(",") \n\ |
| | 22 | :<KeyPress> KP_1:string("1") \n\ |
| | 23 | :<KeyPress> KP_2:string("2") \n\ |
| | 24 | :<KeyPress> KP_3:string("3") \n\ |
| | 25 | :<KeyPress> KP_4:string("4") \n\ |
| | 26 | :<KeyPress> KP_5:string("5") \n\ |
| | 27 | :<KeyPress> KP_6:string("6") \n\ |
| | 28 | :<KeyPress> KP_7:string("7") \n\ |
| | 29 | :<KeyPress> KP_8:string("8") \n\ |
| | 30 | :<KeyPress> KP_9:string("9") \n\ |
| | 31 | :<KeyPress> KP_0:string("0") \n\ |
| | 32 | … |
| | 33 | }}} |
| | 34 | |
| | 35 | wobei … der bisherige Inhalt der VT100-Translations ist; siehe die xterm man page (und zum Syntax Anhang B von «X Toolkit Intrinsics - C Language Interface»). |
| | 36 | |
| | 37 | == urxvt == |
| | 38 | Für urxvt schreibt man in die .Xresources (siehe die urxvt man page): |
| | 39 | |
| | 40 | {{{ |
| | 41 | URxvt.keysym.KP_Add: + |
| | 42 | URxvt.keysym.KP_Subtract: - |
| | 43 | URxvt.keysym.KP_Multiply: * |
| | 44 | URxvt.keysym.KP_Divide : / |
| | 45 | URxvt.keysym.KP_Decimal : . |
| | 46 | URxvt.keysym.KP_Separator : , |
| | 47 | URxvt.keysym.KP_1: 1 |
| | 48 | URxvt.keysym.KP_2: 2 |
| | 49 | URxvt.keysym.KP_3: 3 |
| | 50 | URxvt.keysym.KP_4: 4 |
| | 51 | URxvt.keysym.KP_5: 5 |
| | 52 | URxvt.keysym.KP_6: 6 |
| | 53 | URxvt.keysym.KP_7: 7 |
| | 54 | URxvt.keysym.KP_8: 8 |
| | 55 | URxvt.keysym.KP_9: 9 |
| | 56 | URxvt.keysym.KP_0: 0 |
| | 57 | }}} |
| | 58 | |
| | 59 | == Neo hat kein HJKL auf der Grundlinie == |
| | 60 | Kein wirklicher Nachteil. Vim kann viel mehr als zeilenweise Bewegungen. |
| | 61 | Dieses [http://naleid.com/blog/2010/10/04/vim-movement-shortcuts-wallpaper Poster] gibt einen guten Überblick über die Navigation in vim. |
| | 62 | Ansonsten wendet man sich an den vim-Experten seines Vertrauens (z.B. #vim in freenode). |
| | 63 | |
| | 64 | Ein paar Tips für vim-Addons findet man in [wiki:Firefox Firefox]. |