annotate runtime/doc/vim-da.UTF-8.1 @ 33090:461541d860ac v9.0.1830

patch 9.0.1830: Vim9: crash when accessing a null object Commit: https://github.com/vim/vim/commit/d7085a06358c22250a27186bb7d52112ed4addd1 Author: Gianmaria Bajo <mg1979.git@gmail.com> Date: Thu Aug 31 18:15:26 2023 +0200 patch 9.0.1830: Vim9: crash when accessing a null object Problem: Vim9: crash when accessing a null object Solution: Check accessing a NULL object in def function An object is NULL when the variable is declared, but the constructor isn't called. Accessing/setting a member on the object crashed Vim. Note: this happens inside def functions, at script level things work differently. Accessing a NULL object member results in E1360 (correctly), while setting a value on it results in E1012 (type mismatch) so there's still something to fix. closes: #12973 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Gianmaria Bajo <mg1979.git@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Thu, 31 Aug 2023 18:30:03 +0200
parents 3a1ed539ae2a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14347
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 .TH VIM 1 "11. april 2006"
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 .SH NAVN
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 vim \- Vi IMproved, en programmørs teksteditor
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 .SH SYNOPSIS
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 .br
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 .B vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 [tilvalg] [fil ..]
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 .br
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 .B vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 [tilvalg] \-
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 .br
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 .B vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13 [tilvalg] \-t tag
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
14 .br
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
15 .B vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
16 [tilvalg] \-q [fejlfil]
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
17 .PP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
18 .br
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
19 .B ex
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
20 .br
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
21 .B view
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
22 .br
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
23 .B gvim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
24 .B gview
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
25 .B evim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
26 .B eview
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
27 .br
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
28 .B rvim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
29 .B rview
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
30 .B rgvim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
31 .B rgview
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
32 .SH BESKRIVELSE
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
33 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
34 er en teksteditor som er opad kompatibel med Vi.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
35 Den kan bruges til at redigere alle slags ren tekst.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
36 Den er særlig nyttig til at redigere programmer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
37 .PP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
38 Der er mange forbedringer over Vi: multiniveau fortryd,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
39 multivinduer og -buffere, syntaksfremhævning, redigering af kommandolinje,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
40 fuldførelse af filnavn, onlinehjælp, visuel markering, osv.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
41 Se ":help vi_diff.txt" for et overblik over forskellene mellem
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
42 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
43 og Vi.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
44 .PP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
45 Mens
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
46 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
47 kører, kan der indhentes massere af hjælp fra online-hjælpesystemet, med
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
48 ":help"-kommandoen.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
49 Se ONLINEHJÆLP-sektionen nedenfor.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
50 .PP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
51 Oftest startes
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
52 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
53 for at redigere en enkelt fil med kommandoen
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
54 .PP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
55 vim fil
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
56 .PP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
57 Mere generelt startes
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
58 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
59 med:
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
60 .PP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
61 vim [tilvalg] [filliste]
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
62 .PP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
63 Hvis fillisten mangler, så startes editoren med en tom buffer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
64 Ellers kan én af følgende fire måder bruges til at vælge en eller
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
65 flere filer som skal redigeres.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
66 .TP 12
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
67 fil ..
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
68 En liste over filnavne.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
69 Den første bliver den nuværende fil og læses ind i bufferen.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
70 Markøren placeres på den første linje i bufferen.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
71 Du kan gå til de andre filer med ":next"-kommandoen. Skriv "\-\-" foran
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
72 fillisten, for at redigere en fil som begynder med en bindestreg.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
73 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
74 \-
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
75 Filen som skal redigeres læses fra stdin. Kommandoer læses fra stderr, hvilket
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
76 skal være en tty.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
77 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
78 \-t {tag}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
79 Filen som skal redigeres og den indledende markørplacering afhænger af
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
80 et "tag", en slags gå til-etiket.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
81 {tag} opslås i tags-filen, den tilknyttede fil bliver den nuværende
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
82 fil og den tilknyttede kommando udføres.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
83 Det bruges mest til C-programmer, hvor {tag} kunne være et
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
84 funktionsnavn.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
85 Virkningen er at filen som indeholder funktionen bliver den nuværende fil
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
86 og markøren placeres i begyndelsen af funktionen.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
87 Se ":help tag\-commands".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
88 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
89 \-q [fejlfil]
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
90 Start i quickFix-tilstand.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
91 Filen [fejlfil] læses og den første fejl vises.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
92 Hvis [fejlfil] udelades, så indhentes filnavnet fra 'errorfile'-valgmuligheden
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
93 (standard er "AztecC.Err" på Amiga, "errors.err" på andre
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
94 systemer).
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
95 Der kan hoppes til yderligere fejl med ":cn"-kommandoen.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
96 Se ":help quickfix".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
97 .PP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
98 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
99 opfører sig anderledes, afhængig af navnet på kommandoen (eksekverbaren kan
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
100 stadig være den samme fil).
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
101 .TP 10
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
102 vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
103 Den "normale" måde, alt er standard.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
104 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
105 ex
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
106 Start i Ex-tilstand.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
107 Gå til normal tilstand med ":vi"-kommandoen.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
108 Det kan også gøres med "\-e"-argumentet.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
109 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
110 view
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
111 Start i skrivebeskyttet tilstand. Du vil være beskyttet mod at skrive filerne.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
112 Det kan også gøres med "\-R"-argumentet.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
113 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
114 gvim gview
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
115 GUI-versionen.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
116 Starter et nyt vindue.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
117 Det kan også gøres med "\-g"-argumentet.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
118 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
119 evim eview
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
120 GUI-versionen i easy-tilstand.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
121 Starter et nyt vindue.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
122 Det kan også gøres med "\-y"-argumentet.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
123 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
124 rvim rview rgvim rgview
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
125 Som dem ovenfor, men med restriktioner. Det vil ikke være muligt at starte
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
126 skalkommandoer, eller at suspendere
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
127 .B Vim\c
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
128 \&.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
129 Det kan også gøres med "\-Z"-argumentet.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
130 .SH TILVALG
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
131 Tilvalgene kan gives i vilkårlig rækkefølge, før eller efter filnavnene.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
132 Tilvalg uden et argument kan kombineres efter en enkelt bindestreg.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
133 .TP 12
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
134 +[nummer]
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
135 Ved den første fil, placeres markøren på linje "nummer".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
136 Hvis "nummer" mangler, så placeres markøren på den sidste linje.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
137 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
138 +/{sti}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
139 Ved den første fil, placeres markøren på linjen med den
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
140 første forekomst af {sti}.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
141 Se ":help search\-pattern" for tilgængelige søgemønstre.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
142 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
143 +{kommando}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
144 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
145 \-c {kommando}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
146 {kommando} udføres efter den første fil er blevet læst.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
147 {kommando} fortolkes som en Ex-kommando.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
148 Hvis {kommando} indeholder mellemrum, så skal den omsluttes af
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
149 dobbelte citationstegn (det afhænger af den skal der bruges).
21499
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
150 Eksempel: vim "+set si" main.c
14347
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
151 .br
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
152 Bemærk: Du kan bruge op til 10 "+"- eller "\-c"-kommandoer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
153 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
154 \-S {fil}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
155 {fil} bliver sourced efter den første fil er blevet læst.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
156 Det svarer til \-c "source {fil}".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
157 {fil} må ikke begynde med '\-'.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
158 Hvis {fil} udelades, så bruges "Session.vim" (virker kun når \-S er det sidste
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
159 argument).
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
160 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
161 \-\-cmd {kommando}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
162 Ligesom at bruge "\-c", men kommandoen udføres lige inden
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
163 behandlingen af vimrc-filer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
164 Du kan bruge op til 10 af disse kommandoer, uafhængigt af "\-c"-kommandoer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
165 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
166 \-A
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
167 Hvis
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
168 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
169 blev kompileret med understøttelse af ARABIC til redigering af filer som er
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
170 orienteret højre mod venstre og arabisk tastaturlayout, så starter tilvalget
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
171 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
172 i arabisk tilstand, dvs. 'arabic' sættes.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
173 Ellers gives en fejlmeddelelse og
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
174 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
175 afbrydes.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
176 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
177 \-b
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
178 Binær tilstand.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
179 Der sættes nogle få valgmuligheder som gør det muligt at redigere en
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
180 binær eller eksekverbar fil.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
181 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
182 \-C
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
183 Kompatibel. Sæt 'compatible'-valgmuligheden.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
184 Det får
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
185 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
186 til at opføre sig mest som Vi, selvom der findes en .vimrc-fil.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
187 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
188 \-d
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
189 Start i diff-tilstand.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
190 Der skal være to, tre eller fire filnavneargumenter.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
191 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
192 åbner alle filerne og viser forskellene mellem dem.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
193 Virker ligesom vimdiff(1).
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
194 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
195 \-d {enhed}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
196 Åbn {enhed} til brug som en terminal.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
197 Kun på Amiga.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
198 Eksempel:
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
199 "\-d con:20/30/600/150".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
200 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
201 \-D
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
202 Fejlretning. Gå til fejlretningstilstand når den første kommando udføres fra
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
203 et script.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
204 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
205 \-e
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
206 Start
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
207 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
208 i Ex-tilstand, ligesom hvis "ex"-eksekverbaren blev kaldt.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
209 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
210 \-E
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
211 Start
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
212 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
213 i forbedret Ex-tilstand, ligesom hvis "exim"-eksekverbaren blev kaldt.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
214 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
215 \-f
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
216 Forgrund. I GUI-versionen, vil
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
217 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
218 ikke fork'e og frigøre fra skallen som den blev startet i.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
219 På Amiga, genstartes
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
220 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
221 ikke for at åbne et nyt vindue.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
222 Tilvalget bør bruges når
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
223 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
224 udføres af et program der venter på at redigeringssession
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
225 bliver færdig (f.eks. mail).
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
226 På Amiga virker ":sh"- og ":!"-kommandoerne ikke.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
227 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
228 \-\-nofork
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
229 Forgrund. I GUI-versionen, vil
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
230 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
231 ikke fork'e og frigøre fra skallen som den blev startet i.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
232 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
233 \-F
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
234 Hvis
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
235 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
236 blev kompileret med understøttelse af FKMAP til redigering af filer som er
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
237 orienteret højre mod venstre og persisk tastaturlayout, så starter tilvalget
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
238 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
239 i persisk tilstand, dvs. 'fkmap' og 'rightleft' sættes.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
240 Ellers gives en fejlmeddelelse og
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
241 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
242 afbrydes.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
243 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
244 \-g
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
245 Hvis
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
246 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
247 blev kompileret med understøttelse af GUI, så aktiveres GUI'en af
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
248 denne valgmulighed. Hvis understøttelse af GUI ikke blev kompileret ind,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
249 så gives en fejlmeddelelse og
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
250 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
251 afbrydes.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
252 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
253 \-h
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
254 Giv lidt hjælp om kommandolinjeargumenterne og tilvalgene.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
255 Herefter afsluttes
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
256 .B Vim\c
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
257 \&.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
258 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
259 \-H
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
260 Hvis
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
261 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
262 blev kompileret med understøttelse af RIGHTLEFT til redigering af filer som er
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
263 orienteret højre mod venstre og hebraisk tastaturlayout, så starter tilvalget
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
264 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
265 i hebraisk tilstand, dvs. 'hkmap' og 'rightleft' sættes.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
266 Ellers gives en fejlmeddelelse og
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
267 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
268 afbrydes.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
269 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
270 \-i {viminfo}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
271 Når brug af viminfo-filen er aktiveret, så sætter tilvalget det
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
272 filnavn som skal bruges, i stedet for standarden "~/.viminfo".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
273 Det kan også bruges til at springe brugen af .viminfo-filen over,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
274 ved at give navnet "NONE".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
275 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
276 \-L
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
277 Samme som \-r.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
278 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
279 \-l
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
280 Lisp-tilstand.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
281 Sætter 'lisp'- og 'showmatch'-valgmulighederne til.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
282 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
283 \-m
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
284 Ændring af filer er deaktiveret.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
285 Nulstiller 'write'-valgmuligheden.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
286 Du kan stadig ændre bufferen, men det er ikke muligt at skrive en fil.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
287 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
288 \-M
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
289 Ændringer tillades ikke. 'modifiable'- og 'write'-valgmulighederne fjernes,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
290 så ændringer ikke er tilladt og filer ikke kan skrives. Bemærk at
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
291 valgmulighederne kan sættes for at gøre det muligt at foretage ændringer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
292 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
293 \-N
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
294 No-compatible-tilstand. Nulstil 'compatible'-valgmuligheden.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
295 Det får
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
296 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
297 til at opføre sig en smule bedre, men mindre Vi-kompatibel, selvom der ikke
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
298 findes en .vimrc-fil.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
299 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
300 \-n
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
301 Der bruges ingen swap-fil.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
302 Det er umuligt at gendanne efter programmet er holdt op med at virke.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
303 God hvis du vil redigere en fil på et meget langsomt medie (f.eks. floppy).
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
304 Kan også gøres med ":set uc=0".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
305 Kan fortrydes med ":set uc=200".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
306 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
307 \-nb
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
308 Bliv en editor-server til NetBeans. Se dokumentationen for detaljer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
309 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
310 \-o[N]
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
311 Åbn N vinduer stablet.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
312 Når N udelades, så åbnes ét vindue pr. fil.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
313 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
314 \-O[N]
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
315 Åbn N vinduer side om side.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
316 Når N udelades, så åbnes ét vindue pr. fil.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
317 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
318 \-p[N]
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
319 Åbn N fanebladssider.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
320 Når N udelades, så åbnes én fanebladsside pr. fil.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
321 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
322 \-R
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
323 Skrivebeskyttet tilstand.
15131
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14347
diff changeset
324 \&'readonly'-valgmuligheden sættes.
14347
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
325 Du kan stadig redigere bufferen, men vil være forhindret i
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
326 fejlagtigt at overskrive en fil.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
327 Hvis du vil overskrive en fil, så tilføj et
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
328 udråbstegn til Ex-kommandoen, som i ":w!".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
329 \-R-tilvalget indebærer også \-n-tilvalget (se ovenfor).
15131
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14347
diff changeset
330 \&'readonly'-valgmuligheden kan slås fra med ":set noro".
14347
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
331 Se ":help 'readonly'".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
332 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
333 \-r
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
334 Oplist swap-filer, med information om at bruge dem til gendannelse.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
335 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
336 \-r {fil}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
337 Gendannelsestilstand.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
338 Swap-filen bruges til at gendanne en redigeringssession som holdt
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
339 op med at virke. Swap-filen er en fil med det samme filnavn som tekstfilen,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
340 med ".swp" tilføjet i slutningen.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
341 Se ":help recovery".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
342 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
343 \-s
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
344 Stille tilstand. Kun når der startes som "Ex" eller
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
345 når "\-e"-tilvalget blev givet inden "\-s"-tilvalget.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
346 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
347 \-s {scriptind}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
348 Script-filen {scriptind} læses.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
349 Tegnene i filen fortolkes som havde du skrevet dem.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
350 Det samme kan gøres med kommandoen ":source! {scriptind}".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
351 Hvis slutningen af filen nås inden editoren afslutter,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
352 så læses yderligere tegn fra tastaturet.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
353 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
354 \-T {terminal}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
355 Fortæller
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
356 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
357 navnet på terminalen som du bruger.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
358 Kræves kun når den automatisk måde ikke virker.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
359 Skal være en terminal som kendes af
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
360 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
361 (indbygget) eller defineret i termcap- eller terminfo-filen.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
362 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
363 \-u {vimrc}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
364 Brug kommandoerne i {vimrc}-filen til initialiseringer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
365 Alle de andre initialiseringer springes over.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
366 Brug den til at redigere en særlig slags filer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
367 Den kan også bruges til at springe alle initialiseringer over,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
368 ved at give navnet "NONE". Se ":help initialization" i vim for flere detaljer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
369 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
370 \-U {gvimrc}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
371 Brug kommandoerne i {gvimrc}-filen til GUI-initialiseringer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
372 Alle de andre GUI-initialiseringer springes over.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
373 Den kan også bruges til at springe alle GUI-initialiseringer over,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
374 ved at give navnet "NONE". Se ":help gui\-init" i vim for flere detaljer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
375 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
376 \-V[N]
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
377 Uddybende. Giv meddelelser om hvilke filer som er sourced og til læsning og
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
378 skrivning af en viminfo-fil. Det valgfrie nummer N er værdien af 'verbose'.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
379 Standard er 10.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
380 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
381 \-v
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
382 Start
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
383 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
384 i Vi-tilstand, ligesom eksekverbaren kaldet "vi". Det har kun virkning når
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
385 eksekverbaren kaldes "ex".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
386 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
387 \-w {scriptud}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
388 Alle tegnene som du skrev optages i filen {scriptud}, indtil du afslutter
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
389 .B Vim\c
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
390 \&.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
391 Det er nyttigt hvis du vil oprette en script-fil som skal bruges med
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
392 "vim \-s" eller ":source!".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
393 Hvis {scriptud}-filen findes, så tilføjes tegnene til slutningen.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
394 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
395 \-W {scriptud}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
396 Ligesom \-w, men en eksisterende fil overskrives.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
397 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
398 \-x
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
399 Brug kryptering når der skrives filer. Spørger efter en krypteringsnøgle.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
400 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
401 \-X
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
402 Opret ikke forbindelse til X-serveren. Afkorter opstartstiden i en terminal,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
403 men vinduets titel og udklipsholder bruges ikke.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
404 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
405 \-y
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
406 Start
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
407 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
408 i easy-tilstand, ligesom hvis "evim"- eller "eview"-eksekverbarene blev kaldt.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
409 Får
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
410 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
411 til at opføre sig som en klik og skriv-editor.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
412 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
413 \-Z
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
414 Restriktiv tilstand. Virker ligesom eksekverbaren som begynder med "r".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
415 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
416 \-\-
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
417 Betegner slutningen af tilvalgene.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
418 Argumenter efter dette håndteres som et filnavn.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
419 Det kan bruges til at redigere et filnavn som begynder med et '\-'.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
420 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
421 \-\-echo\-wid
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
422 Kun GTK GUI: Ekko vinduets id på stdout.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
423 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
424 \-\-help
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
425 Giv en hjælpemeddelelse og afslut, ligesom "\-h".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
426 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
427 \-\-literal
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
428 Tag filnavnets argumenter bogstaveligt, udvid ikke jokertegn.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
429 Det har ingen virkning i Unix hvor skallen udvidder jokertegn.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
430 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
431 \-\-noplugin
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
432 Spring indlæsning af plugins over. Indebæres af \-u NONE.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
433 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
434 \-\-remote
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
435 Opret forbindelse til en Vim-server og få den til at redigere filerne
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
436 som gives i resten af argumenterne. Hvis der ikke findes nogen server,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
437 så gives der en advarsel og filerne redigeres i den nuværende Vim.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
438 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
439 \-\-remote\-expr {udtryk}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
440 Opret forbindelse til en Vim-server, evaluer
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
441 {udtryk} i den og udskriv resultatet på stdout.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
442 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
443 \-\-remote\-send {nøgler}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
444 Opret forbindelse til en Vim-server and send {nøgler} til den.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
445 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
446 \-\-remote\-silent
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
447 Som \-\-remote, men uden advarslen når der ikke findes nogen server.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
448 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
449 \-\-remote\-wait
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
450 Som \-\-remote, men Vim afslutter ikke før filerne er blevet redigeret.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
451 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
452 \-\-remote\-wait\-silent
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
453 Som \-\-remote\-wait, men uden advarslen når der ikke findes nogen server.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
454 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
455 \-\-serverlist
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
456 Oplist navnene på alle Vim-servere som der kan findes.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
457 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
458 \-\-servername {navn}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
459 Brug servernavnet {navn}. Bruges til den nuværende Vim,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
460 medmindre det bruges med et \-\-remote-argument,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
461 så er det navnet på serveren som der skal oprettes forbindelse til.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
462 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
463 \-\-socketid {id}
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
464 Kun GTK GUI: Brug GtkPlug-mekanismen til at køre gvim i et andet vindue.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
465 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
466 \-\-version
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
467 Udskriv versionsinformation og afslut.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
468 .SH ONLINEHJÆLP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
469 Skriv ":help" i
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
470 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
471 for at begynde.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
472 Skriv ":help emne" for at få hjælp til et bestemt emne.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
473 F.eks.: ":help ZZ" for at få hjælpe til "ZZ"-kommandoen.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
474 Brug <Tab> og CTRL-D for at fuldføre emner (":help cmdline\-completion").
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
475 Tags findes til at hoppe fra et sted til et andet (en slags hypertekst-links,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
476 se ":help").
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
477 Alle dokumentationsfiler kan vises på denne måde, f.eks.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
478 ":help syntax.txt".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
479 .SH FILER
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
480 .TP 15
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
481 /usr/local/lib/vim/doc/*.txt
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
482 .B Vim\c
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
483 -dokumentationsfilerne.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
484 Brug ":help doc\-file\-list" for at få den fulde liste.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
485 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
486 /usr/local/lib/vim/doc/tags
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
487 Tags-filen som bruges til at finde information i dokumentationsfilerne.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
488 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
489 /usr/local/lib/vim/syntax/syntax.vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
490 Systembrede syntaksinitialiseringer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
491 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
492 /usr/local/lib/vim/syntax/*.vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
493 Syntaksfiler til diverse sprog.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
494 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
495 /usr/local/lib/vim/vimrc
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
496 Systembrede
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
497 .B Vim\c
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
498 -initialiseringer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
499 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
500 ~/.vimrc
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
501 Dine personlige
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
502 .B Vim\c
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
503 -initialiseringer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
504 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
505 /usr/local/lib/vim/gvimrc
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
506 Systembrede gvim-initialiseringer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
507 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
508 ~/.gvimrc
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
509 Dine personlige gvim-initialiseringer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
510 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
511 /usr/local/lib/vim/optwin.vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
512 Script som bruges til ":options"-kommandoen,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
513 en god måde til at vise og sætte valgmuligheder.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
514 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
515 /usr/local/lib/vim/menu.vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
516 Systembrede menu-initialiseringer til gvim.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
517 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
518 /usr/local/lib/vim/bugreport.vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
519 Script til at generere en fejlrapport. Se ":help bugs".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
520 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
521 /usr/local/lib/vim/filetype.vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
522 Script til at registrere filtypen ud fra navnet. Se ":help 'filetype'".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
523 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
524 /usr/local/lib/vim/scripts.vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
525 Script til at registrere filtypen ud fra indholdet. Se ":help 'filetype'".
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
526 .TP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
527 /usr/local/lib/vim/print/*.ps
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
528 Filer som bruges til PostScript-udskrivning.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
529 .PP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
530 Læs VIM-hjemmesiden for seneste info:
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
531 .br
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
532 <URL:http://www.vim.org/>
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
533 .SH SE OGSÅ
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
534 vimtutor(1)
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
535 .SH FORFATTER
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
536 Det meste af
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
537 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
538 blev lavet af Bram Moolenaar, med en masse hjælp fra andre.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
539 Se ":help credits" i
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
540 .B Vim\c
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
541 \&.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
542 .br
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
543 .B Vim
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
544 er baseret på Stevie, arbejdet på af: Tim Thompson,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
545 Tony Andrews og G.R. (Fred) Walter.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
546 Selvom der næsten ikke er noget af den originale kode tilbage.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
547 .SH FEJL
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
548 Formodentligt.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
549 Se ":help todo" for en liste over kendte problemer.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
550 .PP
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
551 Bemærk at flere ting som af nogle kan anses som værende fejl,
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
552 faktisk er pga. en for nær reproduktion af Vi's opførsel.
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
553 Og hvis du tænker at andre ting er fejl "fordi Vi gør det anderledes",
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
554 så kig nærmere på vi_diff.txt-filen (eller skriv :help vi_diff.txt i Vim).
723487cd7876 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
555 Se også 'compatible'- og 'cpoptions'-valgmulighederne.