Changes between Initial Version and Version 1 of Vim


Ignore:
Timestamp:
16/11/13 14:35:39 (12 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Vim

    v1 v1  
     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 ==
     7Das ist kein Neo-spezifisches Problem. Der Fehler ist seit Jahren bekannt und tritt bei sämtlichen integrierten Numpads auf.[[BR]]
     8Fü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
     15XTerm*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
     35wobei … 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 ==
     38Für urxvt schreibt man in die .Xresources (siehe die urxvt man page):
     39
     40{{{
     41URxvt.keysym.KP_Add:    +
     42URxvt.keysym.KP_Subtract: -
     43URxvt.keysym.KP_Multiply: *
     44URxvt.keysym.KP_Divide  : /
     45URxvt.keysym.KP_Decimal : .
     46URxvt.keysym.KP_Separator : ,
     47URxvt.keysym.KP_1:      1
     48URxvt.keysym.KP_2:      2
     49URxvt.keysym.KP_3:      3
     50URxvt.keysym.KP_4:      4
     51URxvt.keysym.KP_5:      5
     52URxvt.keysym.KP_6:      6
     53URxvt.keysym.KP_7:      7
     54URxvt.keysym.KP_8:      8
     55URxvt.keysym.KP_9:      9
     56URxvt.keysym.KP_0:      0
     57}}}
     58
     59== Neo hat kein HJKL auf der Grundlinie ==
     60Kein wirklicher Nachteil. Vim kann viel mehr als zeilenweise Bewegungen.
     61Dieses [http://naleid.com/blog/2010/10/04/vim-movement-shortcuts-wallpaper Poster] gibt einen guten Überblick über die Navigation in vim.
     62Ansonsten wendet man sich an den vim-Experten seines Vertrauens (z.B. #vim in freenode).
     63
     64Ein paar Tips für vim-Addons findet man in [wiki:Firefox Firefox].