annotate runtime/tutor/tutor.hr @ 7999:92ad477c6ab3 v7.4.1294

commit https://github.com/vim/vim/commit/7280140c08799f683ef31a6c1019e283c3dc13aa Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 9 11:37:50 2016 +0100 patch 7.4.1294 Problem: job_stop() only kills the started process. Solution: Send the signal to the process group. (Olaf Dabrunz)
author Christian Brabandt <cb@256bit.org>
date Tue, 09 Feb 2016 11:45:05 +0100
parents 1003f9b262d7
children e69e7133c9cf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
1 ===============================================================================
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
2 = D o b r o d o š l i u VIM p r i r u č n i k - Verzija 1.7 =
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
3 ===============================================================================
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
4
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
5 Vim je vrlo moćan editor koji ima mnogo naredbi, previše da bi ih
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
6 se svih ovdje spomenulo. Namjena priručnika je objasniti dovoljno
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
7 naredbi kako bi početnici znatno lakše koristili ovaj svestran editor.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
8
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
9 Približno vrijeme potrebno za uspješan završetak priručnika je oko
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
10 30 minuta a ovisi o tome koliko će te vremena odvojiti za vježbanje.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
11
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
12 UPOZORENJE:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
13 Naredbe u ovom priručniku će promijeniti ovaj tekst.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
14 Napravite kopiju ove datoteke kako bi ste na istoj vježbali
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
15 (ako ste pokrenuli "vimtutor" ovo je već kopija).
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
16
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
17 Vrlo je važno primijetiti da je ovaj priručnik namijenjen za vježbanje.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
18 Preciznije, morate izvršiti naredbe u Vim-u kako bi ste iste naučili
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
19 pravilno koristiti. Ako samo čitate tekst, zaboraviti će te naredbe!
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
20
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
21 Ako je CapsLock uključen ISKLJUČITE ga. Pritiskajte tipku j kako
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
22 bi pomakli kursor sve dok Lekcija 1.1 ne ispuni ekran.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
23
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
24 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
25 Lekcija 1.1: POMICANJE KURSORA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
26
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
27
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
28 ** Za pomicanje kursora, pritisnite h,j,k,l tipke kako je prikazano **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
29 ^
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
30 k Savjet: h tipka je lijevo i pomiče kursor lijevo.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
31 < h l > l tipka je desno i pomiče kursor desno.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
32 j j izgleda kao strelica usmjerena dolje.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
33 v
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
34 1. Pomičite kursor po ekranu dok se ne naviknete na korištenje.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
35
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
36 2. Držite tipku (j) pritisnutom.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
37 Sada znate kako doći do sljedeće lekcije.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
38
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
39 3. Koristeći tipku j prijeđite na sljedeću lekciju 1.2.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
40
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
41 NAPOMENA: Ako niste sigurni što ste zapravo pritisnuli uvijek koristite
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
42 tipku <ESC> kako bi prešli u Normal mod i onda pokušajte ponovno.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
43
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
44 NAPOMENA: Kursorske tipke rade isto. Korištenje hjkl tipaka je znatno
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
45 brže, nakon što se jednom naviknete na njihovo korištenje. Stvarno!
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
46
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
47 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
48 Lekcija 1.2: IZLAZ IZ VIM-a
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
49
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
50
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
51 !! UPOZORENJE: Prije izvođenja bilo kojeg koraka,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
52 pročitajte cijelu lekciju!!
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
53
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
54 1. Pritisnite <ESC> tipku (Vim je sada u Normal modu).
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
55
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
56 2. Otipkajte: :q! <ENTER>.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
57 Izlaz iz editora, GUBE se sve napravljene promjene.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
58
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
59 3. Kada se pojavi ljuska, utipkajte naredbu koja je pokrenula
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
60 ovaj priručnik: vimtutor <ENTER>
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
61
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
62 4. Ako ste upamtili ove korake, izvršite ih redom od 1 do 3
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
63 kako bi ponovno pokrenuli editor.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
64
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
65 NAPOMENA: :q! <ENTER> poništava sve promjene koje ste napravili.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
66 U sljedećim lekcijama naučit će te kako promjene sačuvati.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
67
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
68 5. Pomaknite kursor na Lekciju 1.3.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
69
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
70 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
71 Lekcija 1.3: PROMJENA TEKSTA - BRISANJE
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
72
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
73
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
74 ** Pritisnite x za brisanje znaka pod kursorom. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
75
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
76 1. Pomaknite kursor na liniju označenu s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
77
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
78 2. Kako bi ste ispravili pogreške, pomičite kursor dok se
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
79 ne bude nalazio na slovu kojeg trebate izbrisati.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
80
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
81 3. Pritisnite tipku x kako bi uklonili neželjeno slovo.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
82
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
83 4. Ponovite korake od 2 do 4 dok ne ispravite sve pogreške.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
84
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
85 ---> KKKravaa jee presskočila mmjeseccc.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
86
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
87 5. Nakon što ispravite liniju, prijeđite na lekciju 1.4.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
88
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
89 NAPOMENA: Koristeći ovaj priručnik ne pokušavajte pamtiti
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
90 već učite primjenom.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
91
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
92
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
93 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
94 Lekcija 1.4: PROMJENA TEKSTA - UBACIVANJE
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
95
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
96
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
97 ** Pritisnite i za ubacivanje teksta ispred kursora. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
98
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
99 1. Pomaknite kursor na prvu sljedeću liniju označenu s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
100
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
101 2. Kako bi napravili prvu liniju istovjetnoj drugoj, pomaknite
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
102 kursor na prvi znak POSLIJE kojeg će te utipkati potreban tekst.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
103
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
104 3. Pritisnite i te utipkajte potrebne nadopune.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
105
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
106 4. Nakon što ispravite pogrešku pritisnite <ESC> kako bi vratili Vim
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
107 u Normal mod. Ponovite korake od 2 do 4 kako bi ispravili sve pogreške.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
108
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
109 ---> Nedje no teka od v lin.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
110 ---> Nedostaje nešto teksta od ove linije.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
111
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
112 5. Prijeđite na sljedeću lekciju.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
113
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
114
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
115
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
116 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
117 Lekcija 1.5: PROMJENA TEKSTA - DODAVANJE
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
118
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
119
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
120 ** Pritisnite A za dodavanje teksta. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
121
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
122 1. Pomaknite kursor na prvu sljedeću liniju označenu s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
123 Nije važno na kojem se slovu nalazi kursor na toj liniji.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
124
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
125 2. Pritisnite A i napravite potrebne promjene.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
126
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
127 3. Nakon što ste dodali tekst, pritisnite <ESC>
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
128 za povratak u Normal mod.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
129
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
130 4. Pomaknite kursor na drugu liniju označenu s --->
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
131 i ponovite korake 2 i 3 dok ne popravite tekst.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
132
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
133 ---> Ima nešto teksta koji nedostaje n
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
134 Ima nešto teksta koji nedostaje na ovoj liniji.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
135 ---> Ima nešto teksta koji ne
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
136 Ima nešto teksta koji nedostaje baš ovdje.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
137
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
138 5. Prijeđite na lekciju 1.6.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
139 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
140 Lekcija 1.6: PROMJENA DATOTEKE
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
141
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
142
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
143 ** Koristite :wq za spremanje teksta i napuštanje Vim-a. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
144
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
145 !! UPOZORENJE: Prije izvršavanja bilo kojeg koraka, pročitajte lekciju!!
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
146
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
147 1. Izađite iz programa kao sto ste napravili u lekciji 1.2: :q!
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
148
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
149 2. Iz ljuske utipkajte sljedeću naredbu: vim tutor <ENTER>
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
150 'vim' je naredba pokretanja Vim editora, 'tutor' je ime datoteke koju
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
151 želite uređivati. Koristite datoteku koju imate ovlasti mijenjati.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
152
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
153 3. Ubacite i izbrišite tekst kao što ste to napravili u lekcijama prije.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
154
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
155 4. Sačuvajte promjenjeni tekst i izađite iz Vim-a: :wq <ENTER>
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
156
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
157 5. Ponovno pokrenite vimtutor i nastavite čitati sažetak koji sljedi.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
158
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
159 6. Nakon sto pročitate gornje korake i u potpunosti ih razumijete:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
160 izvršite ih.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
161
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
162 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
163 Lekcija 1 SAŽETAK
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
164
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
165
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
166 1. Kursor se pomiče strelicama ili pomoću hjkl tipaka.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
167 h (lijevo) j (dolje) k (gore) l (desno)
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
168
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
169 2. Pokretanje Vim-a iz ljuske: vim IME_DATOTEKE <ENTER>
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
170
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
171 3. Izlaz: <ESC> :q! <ENTER> sve promjene su izgubljene.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
172 ILI: <ESC> :wq <ENTER> promjene su sačuvane.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
173
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
174 4. Brisanje znaka na kojem se nalazi kursor: x
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
175
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
176 5. Ubacivanja ili dodavanje teksta:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
177 i utipkajte tekst <ESC> unos ispred kursora
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
178 A utipkajte tekst <ESC> dodavanje na kraju linije
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
179
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
180 NAPOMENA: Tipkanjem tipke <ESC> prebacuje Vim u Normal mod i
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
181 prekida neželjenu ili djelomično završenu naredbu.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
182
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
183 Nastavite čitati Lekciju 2.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
184
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
185 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
186 Lekcija 2.1: NAREDBE BRISANJA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
187
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
188
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
189 ** Tipkajte dw za brisanje riječi. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
190
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
191 1. Pritisnite <ESC> kako bi bili sigurni da je Vim u Normal modu.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
192
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
193 2. Pomaknite kursor na liniju označenu s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
194
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
195 3. Pomaknite kursor na početak riječi koju treba izbrisati.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
196
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
197 4. Otipkajte dw kako bi uklonili riječ.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
198
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
199 NAPOMENA: Vim će prikazati slovo d na zadnjoj liniji kad ga otipkate.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
200 Vim čeka da otipkate w . Ako je prikazano neko drugo slovo,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
201 krivo ste otipkali; pritisnite <ESC> i pokušajte ponovno.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
202
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
203 ---> Neke riječi smiješno ne pripadaju na papir ovoj rečenici.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
204
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
205 5. Ponovite korake 3 i 4 dok ne ispravite rečenicu;
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
206 prijeđite na Lekciju 2.2.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
207
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
208 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
209 Lekcija 2.2: JOŠ BRISANJA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
210
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
211
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
212 ** Otipkajte d$ za brisanje znakova do kraja linije. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
213
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
214 1. Pritisnite <ESC> kako bi bili
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
215 sigurni da je Vim u Normal modu.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
216
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
217 2. Pomaknite kursor na liniju označenu s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
218
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
219 3. Pomaknite kursor do kraja ispravne rečenice
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
220 (POSLJE prve . ).
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
221
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
222 4. Otipkajte d$
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
223 kako bi izbrisali sve znakove do kraja linije.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
224
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
225 ---> Netko je utipkao kraj ove linije dvaput. kraj ove linije dvaput.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
226
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
227 5. Prijeđite na Lekciju 2.3 za bolje objašnjenje.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
228
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
229
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
230
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
231 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
232 Lekcija 2.3: UKRATKO O OPERATORIMA I POKRETIMA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
233
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
234
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
235 Mnogo naredbi koje mijenjaju tekst se sastoje od operatora i pokreta.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
236 Oblik naredbe brisanja sa d operatorom je sljedeći:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
237
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
238 d pokret
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
239
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
240 Pri čemu je:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
241 d - operator brisanja.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
242 pokret - ono na čemu će se operacija izvršavati (navedeno u nastavku).
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
243
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
244 Kratka lista pokreta:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
245 w - sve do početka sljedeće riječi, NE UKLJUČUJUĆI prvo slovo.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
246 e - sve do kraja trenutačne riječi, UKLJUČUJUĆI zadnje slovo.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
247 $ - sve do kraje linije, UKLJUČUJUĆI zadnje slovo.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
248
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
249 Tipkanjem de će se brisati od kursora do kraja riječi.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
250
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
251 NAPOMENA: Pritiskajući samo pokrete dok ste u Normal modu bez operatora će
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
252 pomicati kursor kao što je navedeno.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
253
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
254 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
255 Lekcija 2.4: KORIŠTENJE BROJANJA ZA POKRETE
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
256
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
257
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
258 ** Tipkanjem nekog broja prije pokreta, pokret se izvršava toliko puta. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
259
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
260 1. Pomaknite kursor na liniju označenu s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
261
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
262 2. Otipkajte 2w da pomaknete kursor dvije riječi naprijed.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
263
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
264 3. Otipkajte 3e da pomaknete kursor na kraj treće riječi naprijed.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
265
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
266 4. Otipkajte 0 (nulu) da pomaknete kursor na početak linije.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
267
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
268 5. Ponovite korake 2 i 3 s nekim drugim brojevima.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
269
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
270 ---> Rečenica sa riječima po kojoj možete pomicati kursor.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
271
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
272 6. Prijeđite na Lekciju 2.5.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
273
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
274
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
275
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
276
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
277 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
278 Lekcija 2.5: KORIŠTENJE BROJANJA ZA VEĆE BRISANJE
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
279
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
280
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
281 ** Tipkanje broja N s operatorom ponavlja ga N-puta. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
282
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
283 U kombinaciji operatora brisanja i pokreta spomenutih iznad
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
284 ubacujete broj prije pokreta kako bi izbrisali više znakova:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
285
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
286 d broj pokret
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
287
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
288 1. Pomaknite kursor na prvo slovo u riječi sa VELIKIM SLOVIMA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
289 označenu s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
290
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
291 2. Otipkajte 2dw da izbrišete dvije riječi sa VELIKIM SLOVIMA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
292
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
293 3. Ponovite korake 1 i 2 sa različitim brojevima da izbrišete
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
294 uzastopne riječi sa VELIKIM SLOVIMA sa samo jednom naredbom.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
295
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
296 ---> ova ABCČĆ DĐE linija FGHI JK LMN OP riječi je RSŠ TUVZŽ popravljena.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
297
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
298
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
299
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
300 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
301 Lekcija 2.6: OPERIRANJE NAD LINIJAMA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
302
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
303
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
304 ** Otipkajte dd za brisanje cijele linije. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
305
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
306 Zbog učestalosti brisanja cijelih linija, dizajneri Vi-a su odlučili da
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
307 je lakše brisati linije tipkanjem d dvaput.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
308
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
309 1. Pomaknite kursor na drugu liniju u donjoj kitici.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
310 2. Otipkajte dd kako bi izbrisali liniju.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
311 3. Pomaknite kursor na četvrtu liniju.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
312 4. Otipkajte 2dd kako bi izbrisali dvije linije.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
313
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
314 ---> 1) Ruže su crvene,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
315 ---> 2) Plaža je super,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
316 ---> 3) Ljubice su plave,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
317 ---> 4) Imam auto,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
318 ---> 5) Satovi ukazuju vrijeme,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
319 ---> 6) Šećer je sladak
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
320 ---> 7) Kao i ti.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
321
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
322
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
323 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
324 Lekcija 2.7: NAREDBA PONIŠTENJA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
325
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
326
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
327 ** Pritisnite u za poništenje zadnje naredbe, U za cijelu liniju. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
328
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
329 1. Pomaknite kursor na liniju označenu s ---> i postavite kursor na prvu
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
330 pogrešku.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
331 2. Otipkajte x kako bi izbrisali prvi neželjeni znak.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
332 3. Otipkajte u kako bi poništili zadnju izvršenu naredbu.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
333 4. Ovaj put ispravite sve pogreške na liniji koristeći x naredbu.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
334 5. Sada utipkajte veliko U kako bi poništili sve promjene
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
335 na liniji, vraćajući je u prijašnje stanje.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
336 6. Sada utipkajte u nekoliko puta kako bi poništili U
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
337 i prijašnje naredbe.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
338 7. Sada utipkajte CTRL-R (držeći CTRL tipku pritisnutom dok
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
339 ne pritisnete R) nekoliko puta kako bi vratili promjene
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
340 (poništili poništenja).
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
341
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
342 ---> Poopravite pogreške nna ovvoj liniji ii pooništiteee ih.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
343
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
344 8. Vrlo korisne naredbe. Prijeđite na sažetak Lekcije 2.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
345
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
346 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
347 Lekcija 2 SAŽETAK
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
348
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
349
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
350 1. Brisanje od kursora do sljedeće riječi: dw
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
351 2. Brisanje od kursora do kraja linije: d$
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
352 3. Brisanje cijele linije: dd
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
353
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
354 4. Za ponavljanje pokreta prethodite mu broj: 2w
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
355 5. Oblik naredbe mijenjanja:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
356 operator [broj] pokret
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
357 gdje je:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
358 operator - što napraviti, npr. d za brisanje
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
359 [broj] - neobavezan broj ponavljanja pokreta
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
360 pokret - kretanje po tekstu po kojem se operira,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
361 kao što je: w (riječ), $ (kraj linije), itd.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
362
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
363 6. Postavljanje kursora na početak linije: 0
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
364
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
365 7. Za poništenje prethodnih promjena, pritisnite: u (malo u)
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
366 Za poništenje svih promjena na liniji, pritisnite: U (veliko U)
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
367 Za vraćanja promjena, utipkajte: CTRL-R
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
368
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
369 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
370 Lekcija 3.1: NAREDBA POSTAVI
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
371
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
372
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
373 ** p za unos prethodno izbrisanog teksta iza kursora. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
374
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
375 1. Pomaknite kursor na prvu sljedeću liniju označenu s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
376
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
377 2. Otipkajte dd kako bi izbrisali liniju i spremili je u Vim registar.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
378
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
379 3. Pomaknite kursor na liniju c), IZNAD linije koju trebate unijeti.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
380
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
381 4. Otipkajte p kako bi postavili liniju ispod kursora.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
382
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
383 5. Ponovite korake 2 do 4 kako bi postavili sve linije u pravilnom
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
384 rasporedu.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
385
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
386 ---> d) Možeš li i ti naučiti?
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
387 ---> b) Ljubice su plave,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
388 ---> c) Inteligencija je naučena,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
389 ---> a) Ruže su crvene,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
390
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
391
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
392 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
393 Lekcija 3.2: NAREDBA PROMJENE
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
394
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
395
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
396 ** Otipkajte rx za zamjenu slova ispod kursora sa slovom x . **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
397
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
398 1. Pomaknite kursor na prvu sljedeću liniju označenu s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
399
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
400 2. Pomaknite kursor tako da se nalazi na prvoj pogrešci.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
401
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
402 3. Otipkajte r i nakon toga ispravan znak na tom mjestu.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
403
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
404 4. Ponovite korake 2 i 3 sve dok prva
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
405 linije ne bude istovjetna drugoj.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
406
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
407 ---> Kede ju ovu limija tupjana, natko je protuskao kruve tupke!
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
408 ---> Kada je ova linija tipkana, netko je pritiskao krive tipke!
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
409
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
410 5. Prijeđite na Lekciju 3.2.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
411
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
412 NAPOMENA: Prisjetite da trebate učiti vježbanjem, ne pamćenjem.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
413
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
414
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
415 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
416 Lekcija 3.3: OPERATOR MIJENJANJA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
417
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
418
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
419 ** Za mijenjanje do kraja riječi, istipkajte ce . **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
420
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
421 1. Pomaknite kursor na prvu sljedeću liniju označenu s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
422
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
423 2. Postavite kursor na a u lackmb.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
424
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
425 3. Otipkajte ce i ispravite riječ (u ovom slučaju otipkajte inija ).
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
426
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
427 4. Pritisnite <ESC> i pomaknite kursor na sljedeći znak
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
428 kojeg je potrebno ispraviti.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
429
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
430 5. Ponovite korake 3 i 4 sve dok prva rečenica ne postane istovjetna
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
431 drugoj.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
432
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
433 ---> Ova lackmb ima nekoliko rjlcah koje trfcb mijdmlfsz.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
434 ---> Ova linija ima nekoliko riječi koje treba mijenjati.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
435
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
436 Primijetite da ce briše riječ i postavlja Vim u Insert mod.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
437
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
438 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
439 Lekcija 3.4: JOŠ MIJENJANJA KORIŠTENJEM c
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
440
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
441
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
442 ** Naredba mijenjanja se koristi sa istim pokretima kao i brisanje. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
443
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
444 1. Operator mijenjanja se koristi na isti način kao i operator brisanja:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
445
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
446 c [broj] pokret
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
447
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
448 2. Pokreti su isti, npr: w (riječ) i $ (kraj linije).
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
449
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
450 3. Pomaknite kursor na prvu sljedeću liniju označenu s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
451
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
452 4. Pomaknite kursor na prvu pogrešku.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
453
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
454 5. Otipkajte c$ i utipkajte ostatak linije tako da bude istovjetna
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
455 drugoj te pritisnite <ESC>.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
456
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
457 ---> Kraj ove linije treba pomoć tako da izgleda kao linija ispod.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
458 ---> Kraj ove linije treba ispraviti korištenjem c$ naredbe.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
459
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
460 NAPOMENA: Možete koristiti Backspace za ispravljanje grešaka.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
461 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
462 Lekcija 3 SAŽETAK
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
463
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
464
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
465 1. Za postavljanje teksta koji je upravo izbrisan, pritisnite p . Ovo
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
466 postavlja tekst IZA kursora (ako je pak linija izbrisana tekst se
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
467 postavlja na liniju ispod kursora).
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
468
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
469 2. Za promjenu znaka na kojem se nalazi kursor, pritisnite r i nakon toga
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
470 željeni znak.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
471
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
472 3. Operator mijenjanja dozvoljava promjenu teksta od kursora do pozicije do
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
473 koje dovede pokret. tj. Otipkajte ce za mijenjanje od kursora do kraja
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
474 riječi, c$ za mijenjanje od kursora do kraja linije.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
475
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
476 4. Oblik naredbe mijenjanja:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
477
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
478 c [broj] pokret
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
479
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
480 Prijeđite na sljedeću lekciju.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
481
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
482
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
483
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
484 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
485 Lekcija 4.1: POZICIJA KURSORA I STATUS DATOTEKE
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
486
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
487 ** CTRL-G za prikaz pozicije kursora u datoteci i status datoteke.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
488 Pritisnite G za pomicanje kursora na neku liniju u datoteci. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
489
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
490 NAPOMENA: Pročitajte cijelu lekciju prije izvršenja bilo kojeg koraka!!
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
491
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
492 1. Držite Ctrl tipku pritisnutom i pritisnite g . Ukratko: CTRL-G.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
493 Vim će ispisati poruku na dnu ekrana sa imenom datoteke i pozicijom
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
494 kursora u datoteci. Zapamtite broj linije za 3. korak.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
495
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
496 NAPOMENA: Možete vidjeti poziciju kursora u donjem desnom kutu ako
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
497 je postavka 'ruler' aktivirana (objašnjeno u 6. lekciji).
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
498
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
499 2. Pritisnite G za pomicanje kursora na kraj datoteke.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
500 Otipkajte gg za pomicanje kursora na početak datoteke.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
501
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
502 3. Otipkajte broj linije na kojoj ste bili maloprije i zatim G . Kursor
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
503 će se vratiti na liniju na kojoj se nalazio kada ste otipkali CTRL-G.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
504
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
505 4. Ako ste spremni, izvršite korake od 1 do 3.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
506
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
507 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
508 Lekcija 4.2: NAREDBE TRAŽENJA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
509
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
510 ** Otipkajte / i nakon toga izraz kojeg želite tražiti. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
511
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
512 1. U Normal modu otipkajte / znak. Primijetite da se znak
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
513 pojavio zajedno sa kursorom na dnu ekrana kao kod : naredbe.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
514
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
515 2. Sada otipkajte 'grrrreška' <ENTER>. To je riječ koju zapravo tražite.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
516
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
517 3. Za ponovno traženje istog izraza, otipkajte n .
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
518 Za traženje istog izraza ali u suprotnom smjeru, otipkajte N .
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
519
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
520 4. Za traženje izraza unatrag, koristite ? umjesto / .
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
521
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
522 5. Za povratak na prethodnu poziciju koristite CTRL-O (držite Ctrl
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
523 pritisnutim dok ne pritisnete tipku o). Ponavljajte sve dok se ne
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
524 vratite na početak. CTRL-I slično kao CTRL-O ali u suprotnom smjeru.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
525
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
526 ---> "pogrrrreška" je pogrešno; umjesto pogrrrreška treba stajati pogreška.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
527
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
528 NAPOMENA: Ako se traženjem dođe do kraja datoteke nastavit će se od njenog
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
529 početka osim ako je postavka 'wrapscan' deaktivirana.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
530 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
531 Lekcija 4.3: TRAŽENJE PRIPADAJUĆE ZAGRADE
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
532
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
533
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
534 ** Otipkajte % za pronalazak pripadajuće ), ] ili } . **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
535
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
536 1. Postavite kursor na bilo koju od ( , [ ili {
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
537 otvorenih zagrada u liniji označenoj s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
538
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
539 2. Otipkajte znak % .
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
540
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
541 3. Kursor će se pomaknuti na pripadajuću zatvorenu zagradu.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
542
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
543 4. Otipkajte % kako bi pomakli kursor na drugu pripadajuću zagradu.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
544
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
545 5. Pomaknite kursor na neku od (,),[,],{ ili } i ponovite % naredbu.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
546
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
547 ---> Linija ( testiranja običnih ( [ uglatih ] i { vitičastih } zagrada.))
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
548
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
549
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
550 NAPOMENA: Vrlo korisno u ispravljanju koda sa nepripadajućim zagradama!
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
551
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
552
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
553 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
554 Lekcija 4.4: NAREDBE ZAMIJENE
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
555
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
556
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
557 ** Otipkajte :s/staro/novo/g da zamijenite 'staro' za 'novo'. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
558
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
559 1. Pomaknite kursor na liniju označenu s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
560
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
561 2. Otipkajte :s/cvrćč/cvrč <ENTER> . Primjetite da ova naredba zamjenjuje
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
562 samo prvi "cvrćč" u liniji.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
563
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
564 3. Otipkajte :s/cvrćč/cvrč/g . Dodavanje g stavke znači da će se naredba
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
565 izvršiti na cijeloj liniji, zamjenjivanjem svih "cvrćč" u liniji.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
566
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
567 ---> i cvrćči cvrćči cvrćčak na čvoru crne smrče.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
568
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
569 4. Za zamjenu svih izraza u rasponu dviju linija,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
570 otipkajte :#,#s/staro/novo/g #,# su brojevi linije datoteke na kojima
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
571 te između njih će se izvršiti zamjena.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
572 Otipkajte :%s/staro/novo/g za zamjenu svih izraza u cijeloj datoteci.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
573 Otipkajte :%s/staro/novo/gc za pronalazak svakog izraza u datoteci i
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
574 potvrdu zamjene.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
575
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
576 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
577 Lekcija 4 SAŽETAK
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
578
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
579
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
580 1. CTRL-G prikazuje poziciju kursora u datoteci i status datoteke.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
581 G postavlja kursor na zadnju liniju datoteke.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
582 broj G postavlja kursor na broj liniju.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
583 gg postavlja kursor na prvu liniju.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
584
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
585 2. Tipkanje / sa izrazom traži UNAPRIJED taj izraz.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
586 Tipkanje ? sa izrazom traži UNATRAG taj izraz.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
587 Nakon naredbe traženja koristite n za pronalazak izraza u istom
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
588 smjeru, i N za pronalazak istog izraza ali u suprotnom smjeru.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
589 CTRL-O vraća kursor na prethodnu poziciju, CTRL-I na sljedeću poziciju.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
590
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
591 3. Tipkanje % dok je kursor na zagradi pomiče ga na pripadajuću zagradu.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
592
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
593 4. Za zamjenu prvog izraza staro za izraz novo :s/staro/novo
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
594 Za zamjenu svih izraza staro na cijeloj liniji :s/staro/novo/g
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
595 Za zamjenu svih izraza staro u rasponu linija #,# :#,#s/staro/novo/g
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
596 Za zamjenu u cijeloj datoteci :%s/staro/novo/g
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
597 Za potvrdu svake zamjene dodajte 'c' :%s/staro/novo/gc
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
598
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
599 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
600 Lekcija 5.1: IZVRŠAVANJE VANJSKIH NAREDBI
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
601
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
602
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
603 ** Otipkajte :! sa vanjskom naredbom koju želite izvršiti. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
604
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
605 1. Otipkajte poznatu naredbu : kako bi kursor premjestili na dno
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
606 ekrana. Time omogućavate unos naredbe u naredbenoj liniji.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
607
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
608 2. Otipkajte znak ! (uskličnik). Tako omogućavate
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
609 izvršavanje naredbe vanjske ljuske.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
610
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
611 3. Kao primjer otipkajte ls nakon ! te pritisnite <ENTER>.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
612 Ovo će prikazati sadržaj direktorija, kao da ste u ljusci.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
613 Koristite :!dir ako :!ls ne radi.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
614
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
615 NAPOMENA: Moguće je izvršavati bilo koju vanjsku naredbu na ovaj način,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
616 zajedno sa njenim argumentima.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
617
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
618 NAPOMENA: Sve : naredbe se izvršavaju nakon što pritisnete <ENTER>
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
619 U daljnjem tekstu to neće uvijek biti napomenuto.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
621
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
622 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
623 Lekcija 5.2: VIŠE O SPREMANJU DATOTEKA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
624
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
625 ** Za spremanje promjena, otipkajte :w IME_DATOTEKE. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
626
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
627 1. Otipkajte :!dir ili :!ls za pregled direktorija.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
628 Već znate da morate pritisnuti <ENTER> na kraju tipkanja.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
629
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
630 2. Izaberite ime datoteke koja još ne postoji, npr. TEST.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
631
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
632 3. Otipkajte: :w TEST (gdje je TEST ime koje ste prethodno odabrali.)
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
633
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
634 4. Time će te spremiti cijelu datoteku (Vim Tutor) pod imenom TEST.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
635 Za provjeru, otipkajte ponovno :!dir ili :!ls
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
636 za pregled direktorija.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
637
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
638 NAPOMENA: Ako bi napustili Vim i ponovno ga pokrenuli sa vim TEST ,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
639 datoteka bi bila potpuna kopija ove datoteke u trenutku
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
640 kada ste je spremili.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
641
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
642 5. Izbrišite datoteku tako da otipkate (MS-DOS): :!del TEST
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
643 ili (Unix): :!rm TEST
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
644
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
645 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
646 Lekcija 5.3: SPREMANJE OZNAČENOG TEKSTA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
647
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
648
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
649 ** Kako bi spremili dio datoteke, otipkajte v pokret :w IME_DATOTEKE **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
650
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
651 1. Pomaknite kursor na ovu liniju.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
652
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
653 2. Pritisnite v i pomaknite kursor pet linija ispod ove.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
654 Primijetite promjenu, označeni tekst se razlikuje od običnog.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
655
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
656 3. Pritisnite : znak. Na dnu ekrana pojavit će se :'<,'> .
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
657
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
658 4. Otipkajte w TEST , pritom je TEST ime datoteke koja još ne postoji.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
659 Provjerite da zaista piše :'<,'>w TEST
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
660 prije nego što pritisnite <ENTER>.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
661
3847
1003f9b262d7 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1620
diff changeset
662 5. Vim će spremiti označeni tekst u TEST. Provjerite sa :!dir ili :!ls .
1620
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
663 Nemojte je još brisati! Koristiti će te je u sljedećoj lekciji.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
664
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
665 NAPOMENA: Tipka v započinje Vizualno označavanje. Možete pomicati kursor
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
666 unaokolo kako bi mijenjali veličinu označenog teksta. Možete
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
667 koristiti i operatore. Npr, d će izbrisati označeni tekst.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
668 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
669 Lekcija 5.4: UČITAVANJE DATOTEKA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
670
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
671
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
672 ** Za ubacivanje sadržaja datoteke, otipkajte :r IME_DATOTEKE **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
673
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
674 1. Postavite kursor iznad ove linije.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
675
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
676 NAPOMENA: Nakon što izvršite 2. korak vidjeti će te tekst iz Lekcije 5.3.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
677 Stoga pomaknite kursor DOLJE kako bi ponovno vidjeli ovu lekciju.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
678
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
679 2. Učitajte vašu TEST datoteku koristeći naredbu :r TEST
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
680 gdje je TEST ime datoteke koju ste koristili u prethodnoj lekciji.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
681 Sadržaj učitane datoteke je ubačen liniju ispod kursora.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
682
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
683 3. Kako bi provjerili da je datoteka učitana, vratite kursor unatrag i
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
684 primijetite dvije kopije Lekcije 5.3, originalnu i onu iz datoteke.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
685
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
686 NAPOMENA: Možete također učitati ispis vanjske naredbe. Npr, :r !ls
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
687 će učitati ispis ls naredbe i postaviti ispis liniju ispod
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
688 kursora.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
689
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
690
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
691 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
692 Lekcija 5 SAŽETAK
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
693
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
694
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
695 1. :!naredba izvršava vanjsku naredbu.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
696
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
697 Korisni primjeri:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
698 (MS-DOS) (Unix)
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
699 :!dir :!ls - pregled direktorija.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
700 :!del DATOTEKA :!rm DATOTEKA - briše datoteku DATOTEKA.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
701
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
702 2. :w DATOTEKA zapisuje trenutačnu datoteku na disk sa imenom DATOTEKA.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
703
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
704 3. v pokret :w IME_DATOTEKE sprema vizualno označene linije u
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
705 datoteku IME_DATOTEKE.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
706
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
707 4. :r IME_DATOTEKE učitava datoteku IME_DATOTEKE sa diska i stavlja
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
708 njen sadržaj liniju ispod kursora.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
709
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
710 5. :r !dir učitava ispis naredbe dir i postavlja sadržaj ispisa liniju
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
711 ispod kursora.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
712
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
713
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
714 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
715 Lekcija 6.1: NAREDBA OTVORI
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
716
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
717
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
718 ** Pritisnite o kako bi otvorili liniju ispod kursora
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
719 i prešli u Insert mod. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
720
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
721 1. Pomaknite kursor na sljedeću liniju označenu s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
722
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
723 2. Otipkajte malo o kako bi otvorili novu liniju ISPOD kursora
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
724 i prešli u Insert mod.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
725
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
726 3. Otipkajte nešto teksta i nakon toga pritisnite <ESC>
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
727 kako bi napustili Insert mod.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
728
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
729 ---> Nakon što pritisnete o kursor će preći u novu liniju u Insert mod.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
730
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
731 4. Za otvaranje linije IZNAD kursora, otipkajte umjesto malog o veliko O ,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
732 Pokušajte na donjoj liniji označenoj s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
733
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
734 ---> Otvorite liniju iznad ove - otipkajte O dok je kursor na ovoj liniji.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
735
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
736
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
737 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
738 Lekcija 6.2: NAREDBA DODAJ
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
739
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
740
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
741 ** Otipkajte a za dodavanje teksta IZA kursora. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
742
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
743 1. Pomaknite kursor na početak sljedeće linije označene s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
744
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
745 2. Tipkajte e dok se kursor ne nalazi na kraju li .
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
746
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
747 3. Otipkajte a (malo) kako bi dodali tekst IZA kursora.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
748
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
749 4. Dopunite riječ kao što je na liniji ispod.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
750 Pritisnite <ESC> za izlaz iz Insert moda.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
751
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
752 5. Sa e prijeđite na sljedeću nepotpunu riječ i ponovite korake 3 i 4.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
753
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
754 ---> Ova li omogućava vje dodav teksta nekoj liniji.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
755 ---> Ova linija omogućava vježbanje dodavanja teksta nekoj liniji.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
756
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
757 NAPOMENA: Sa i, a, i A prelazite u isti Insert mod, jedina
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
758 razlika je u poziciji od koje će se tekst ubacivati.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
759
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
760 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
761 Lekcija 6.3: DRUGI NAČIN MIJENJANJA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
762
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
763
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
764 ** Otipkajte veliko R kako bi zamijelili više od jednog znaka. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
765
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
766 1. Pomaknite kursor na prvu sljedeću liniju označenu s --->.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
767 Pomaknite kursor na početak prvog xxx .
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
768
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
769 2. Pritisnite R i otipkajte broj koji je liniju ispod,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
770 tako da zamijeni xxx .
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
771
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
772 3. Pritisnite <ESC> za izlaz iz Replace moda.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
773 Primijetite da je ostatak linije ostao nepromjenjen.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
774
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
775 5. Ponovite korake kako bi zamijenili preostali xxx.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
776
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
777 ---> Zbrajanje: 123 plus xxx je xxx.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
778 ---> Zbrajanje: 123 plus 456 je 579.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
779
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
780 NAPOMENA: Replace mod je kao Insert mod, ali sa bitnom razlikom,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
781 svaki otipkani znak briše već postojeći.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
782
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
783 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
784 Lekcija 6.4: KOPIRANJE I LIJEPLJENJE TEKSTA
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
785
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
786
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
787 ** Koristite y operator za kopiranje a p za lijepljenje teksta. **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
788
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
789 1. Pomaknite kursor na liniju s ---> i postavite kursor nakon "a)".
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
790
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
791 2. Pokrenite Visual mod sa v i pomaknite kursor sve do ispred "prva".
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
792
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
793 3. Pritisnite y kako bi kopirali označeni tekst.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
794
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
795 4. Pomaknite kursor do kraja sljedeće linije: j$
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
796
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
797 5. Pritisnite p kako bi zalijepili tekst. Onda utipkajte: druga <ESC> .
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
798
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
799 6. Koristite Visual mod kako bi označili " linija.", kopirajte: y , kursor
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
800 postavite na kraj sljedeće linije: j$ i ondje zalijepite tekst: p .
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
801
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
802 ---> a) ovo je prva linija.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
803 b)
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
804
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
805 NAPOMENA: možete koristiti y kao operator; yw kopira jednu riječ.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
806 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
807 Lekcija 6.5: MIJENJANJE POSTAVKI
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
808
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
809
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
810 ** Postavka: naredbe traženja i zamijene ne razlikuju VELIKA i mala slova **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
811
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
812 1. Potražite 'razlika' tipkanjem: /razlika <ENTER>
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
813 Nekoliko puta ponovite pritiskanjem n .
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
814
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
815 2. Aktivirajte 'ic' (Ignore case) postavku: :set ic
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
816
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
817 3. Ponovno potražite 'razlika' tipkanjem n
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
818 Primijetite da su sada i RAZLIKA i Razlika pronađeni.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
819
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
820 4. Aktivirajte 'hlsearch' i 'incsearch' postavke: :set hls is
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
821
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
822 5. Otipkajte naredbu traženja i primijetite razlike: /razlika <ENTER>
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
823
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
824 6. Za deaktiviranje ic postavke koristite: :set noic
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
825
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
826 NAPOMENA: Za neoznačavanje pronađenih izraza otipkajte: :nohlsearch
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
827 NAPOMENA: Bez razlikovanja velikih i malih slova u samo jednoj naredbi
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
828 koristite \c u izrazu: /razlika\c <ENTER>
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
829 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
830 Lekcija 6 SAŽETAK
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
831
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
832 1. Pritisnite o za otvaranje linije ISPOD kursora i prelazak u Insert mod.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
833 Pritisnite O za otvaranje linije IZNAD kursora.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
834
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
835 2. Pritisnite a za unos teksta IZA kursora.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
836 Pritisnite A za unos teksta na kraju linije.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
837
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
838 3. Naredba e pomiče kursor na kraj riječi.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
839
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
840 4. Operator y kopira tekst, p ga lijepi.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
841
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
842 5. Tipkanjem velikog R Vim prelazi u Replace mod dok ne pritisnete <ESC> .
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
843
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
844 6. Tipkanjem ":set xxx" aktivira postavku "xxx". Neke postavke su:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
845 'ic' 'ignorecase' ne razlikuje velika/mala slova pri traženju
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
846 'is' 'incsearch' traži nedovršene izraze
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
847 'hls' 'hlsearch' označi sve pronađene izraze
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
848 Možete koristite dugo ili kratko ime postavke.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
849
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
850 7. Prethodite "no" imenu postavke za deaktiviranje iste: :set noic
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
851
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
852 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
853 Lekcija 7.1: DOBIVANJE POMOĆI
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
854
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
855
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
856 ** Koristite on-line sustav pomoći **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
857
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
858 Vim ima detaljan on-line sustav pomoći.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
859 Za početak, pokušajte jedno od sljedećeg:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
860 - pritisnite <HELP> tipku (ako je vaša tipkovnica ima)
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
861 - pritisnite <F1> tipku (ako je vaša tipkovnica ima)
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
862 - utipkajte :help <ENTER>
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
863
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
864 Pročitajte tekst u prozoru pomoći kako bi ste se znali služiti istom.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
865 Tipkanjem CTRL-W CTRL-W prelazite iz jednog prozora u drugi.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
866 Otipkajte :q <ENTER> kako bi zatvorili prozor pomoći.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
867
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
868 Pronaći će te pomoć o bilo kojoj temi, tako da dodate upit samoj
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
869 ":help" naredbi. Pokušajte (ne zaboravite pritisnuti <ENTER>):
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
870
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
871 :help w
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
872 :help c_CTRL-D
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
873 :help insert-index
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
874 :help user-manual
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
875 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
876 Lekcija 7.2: PRAVLJENJE SKRIPTE
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
877
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
878
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
879 ** Aktivirajte Vim mogućnosti **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
880
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
881 Vim ima mnogo više alata od Vi-ja, ali većina njih nije aktivirana.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
882 Kako bi mogli koristiti više mogućnosti napravite "vimrc" datoteku.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
883
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
884 1. Uredite "vimrc" datoteku. Ovo ovisi o vašem sistemu:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
885 :e ~/.vimrc za Unix
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
886 :e $VIM/_vimrc za MS-Windows
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
887
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
888 2. Sada učitajte primjer sadržaja "vimrc" datoteke:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
889 :r $VIMRUNTIME/vimrc_example.vim
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
890
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
891 3. Sačuvajte datoteku sa:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
892 :w
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
893
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
894 Sljedećeg puta kada pokrenete Vim, bojanje sintakse teksta biti će
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
895 aktivirano. Sve vaše postavke možete dodati u "vimrc" datoteku.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
896 Za više informacija otipkajte :help vimrc-intro
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
897
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
898 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
899 Lekcija 7.3: AUTOMATSKO DOVRŠAVANJE
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
900
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
901
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
902 ** Dovršavanje iz naredbene linije pomoću CTRL-D i <TAB> **
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
903
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
904 1. Provjerite da Vim nije u Vi modu: :set nocp
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
905
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
906 2. Pogledajte koje datoteke postoje u direktoriju: :!ls or :!dir
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
907
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
908 3. Otipkajte početak naredbe: :e
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
909
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
910 4. Tipkajte CTRL-D i prikazati će se lista naredbi koje započinju sa "e".
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
911
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
912 5. Pritisnite <TAB> i Vim će dopuniti unos u naredbu ":edit".
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
913
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
914 6. Dodajte razmak i početak datoteke: :edit FIL
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
915
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
916 7. Pritisnite <TAB>. Vim će nadopuniti ime datoteke (ako je jedinstveno).
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
917
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
918 NAPOMENA: Moguće je dopuniti mnoge naredbe. Koristite CTRL-D i <TAB>.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
919 Naročito je korisno za :help naredbe.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
920
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
921 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
922 Lekcija 7 SAŽETAK
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
923
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
924
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
925 1. Otipkajte :help ili pritisnite <F1> ili <Help> za pomoć.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
926
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
927 2. Otipkajte :help naredba kako bi dobili pomoć za naredba .
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
928
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
929 3. Otipkajte CTRL-W CTRL-W za prelazak u drugi prozor
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
930
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
931 4. Otipkajte :q kako bi zatvorili prozor pomoći
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
932
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
933 5. Napravite vimrc skriptu za podizanje kako bi u nju spremali
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
934 vaše omiljene postavke.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
935
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
936 6. Kada tipkate naredbu koja započinje sa :
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
937 pritisnite CTRL-D kako bi vidjeli moguće valjane vrijednosti.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
938 Pritisnite <TAB> kako bi odabrali jednu od njih.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
939
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
940
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
941
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
942
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
943
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
944 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
945 Kraj. Cilj priručnika je da pokaže kratak pregled Vim editora, tek toliko
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
946 da omogući njegovo korištenje. Priručnik nije potpun jer Vim ima mnogo više
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
947 naredbi. Za više informacija: ":help user-manual".
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
948
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
949 Za čitanje i korištenje, preporučamo:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
950 Vim - Vi Improved - by Steve Oualline
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
951 Izdavač: New Riders
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
952 Prva knjiga potpuno posvećena Vim-u. Vrlo korisna za početnike.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
953 Sa mnogo primjera i slika.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
954 Posjetite http://iccf-holland.org/click5.html
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
955
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
956 Sljedeća knjiga je nešto starija i više o Vi-u nego o Vim-u, preporučamo:
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
957 Learning the Vi Editor - by Linda Lamb
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
958 Izdavač: O'Reilly & Associates Inc.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
959 Solidna knjiga, možete saznati skoro sve što možete napraviti
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
960 u Vi-u. Šesto izdanje ima nešto informacija i o Vim-u.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
961
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
962 Ovaj priručnik su napisali: Michael C. Pierce i Robert K. Ware,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
963 Colorado School of Mines koristeći ideje Charles Smith,
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
964 Colorado State University. E-pošta: bware@mines.colorado.edu.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
965
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
966 Naknadne promjene napravio je Bram Moolenaar.
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
967 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
968
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
969 Preveo na hrvatski: Paul B. Mahol <onemda@gmail.com>
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
970 Preinaka 1.42, Lipanj 2008
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
971
73fe8baea242 updated for version 7.2a
vimboss
parents:
diff changeset
972