/[clonezilla-sysresccd]/scripts-to-create-iso.vim
ViewVC logotype

Contents of /scripts-to-create-iso.vim

Parent Directory Parent Directory | Revision Log Revision Log


Revision 105 - (show annotations)
Fri Sep 10 18:39:43 2010 UTC (13 years, 7 months ago) by sng
File size: 15234 byte(s)
keep working on the scripts
1 let SessionLoad = 1
2 if &cp | set nocp | endif
3 let s:cpo_save=&cpo
4 set cpo&vim
5 map! <S-Insert> <MiddleMouse>
6 map \c :echo g:colors_name
7 map \p :CP
8 map \n :CN
9 map \dk <Plug>DirDiffPrev
10 map \dj <Plug>DirDiffNext
11 map \dp <Plug>DirDiffPut
12 map \dg <Plug>DirDiffGet
13 nmap gx <Plug>NetrwBrowseX
14 map <F12> :colorscheme default
15 map <S-F12> :colorscheme desert
16 nnoremap <silent> <Plug>NetrwBrowseX :call netrw#NetrwBrowseX(expand("<cWORD>"),0)
17 map <S-Insert> <MiddleMouse>
18 noremap ë gt
19 noremap ê gT
20 iabbr Cs case "$" in
21 )
22 
23 ;;
24 )
25 
26 ;;
27 *)
28 
29 ;;
30 esac
31 iabbr Un until [ ];do
32 
33 done
34 iabbr Wh while [ ];do
35 
36 done
37 iabbr Ifil if [ ];then
38 
39 elif [ ];then
40 
41 else
42 
43 fi
44 iabbr Ifl if [ ];then
45 
46 else
47 
48 fi
49 iabbr Ifn if [ ];then
50 
51 fi
52 iabbr Fn for n in ;do
53 
54 done
55 let &cpo=s:cpo_save
56 unlet s:cpo_save
57 set autoindent
58 set backspace=indent,eol,start
59 set expandtab
60 set fileencodings=ucs-bom,utf-8,default,latin1
61 set guifont=Monospace\ 13
62 set helplang=el
63 set history=50
64 set nomodeline
65 set mouse=a
66 set pastetoggle=<F10>
67 set printoptions=paper:a4
68 set ruler
69 set runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after
70 set shiftwidth=4
71 set showbreak=
72 set showcmd
73 set showmatch
74 set smarttab
75 set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
76 set tabpagemax=1000
77 set tabstop=4
78 set termencoding=utf-8
79 set wildmenu
80 let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0
81 let v:this_session=expand("<sfile>:p")
82 silent only
83 cd ~/clonezilla-sysresccd/trunk/create-clonezilla-sysresccd
84 if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
85 let s:wipebuf = bufnr('%')
86 endif
87 set shortmess=aoO
88 badd +1 create-clonezilla-sysresccd.sh
89 badd +1 patch-clonezilla-sysresccd.sh
90 badd +1 continue-multi-cd
91 badd +1 profiles.conf
92 badd +1 ChangeLog
93 badd +0 continue-multi-cd.sh
94 args create-clonezilla-sysresccd.sh patch-clonezilla-sysresccd.sh continue-multi-cd profiles.conf ChangeLog
95 edit create-clonezilla-sysresccd.sh
96 set splitbelow splitright
97 set nosplitbelow
98 set nosplitright
99 wincmd t
100 set winheight=1 winwidth=1
101 argglobal
102 setlocal keymap=
103 setlocal noarabic
104 setlocal autoindent
105 setlocal balloonexpr=
106 setlocal nobinary
107 setlocal bufhidden=
108 setlocal buflisted
109 setlocal buftype=
110 setlocal nocindent
111 setlocal cinkeys=0{,0},0),:,0#,!^F,o,O,e
112 setlocal cinoptions=
113 setlocal cinwords=if,else,while,do,for,switch
114 setlocal colorcolumn=
115 setlocal comments=s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-
116 setlocal commentstring=#%s
117 setlocal complete=.,w,b,u,t,i
118 setlocal concealcursor=
119 setlocal conceallevel=0
120 setlocal completefunc=
121 setlocal nocopyindent
122 setlocal cryptmethod=
123 setlocal nocursorbind
124 setlocal nocursorcolumn
125 setlocal nocursorline
126 setlocal define=
127 setlocal dictionary=
128 setlocal nodiff
129 setlocal equalprg=
130 setlocal errorformat=
131 setlocal expandtab
132 if &filetype != 'sh'
133 setlocal filetype=sh
134 endif
135 setlocal foldcolumn=0
136 setlocal foldenable
137 setlocal foldexpr=0
138 setlocal foldignore=#
139 setlocal foldlevel=0
140 setlocal foldmarker={{{,}}}
141 setlocal foldmethod=manual
142 setlocal foldminlines=1
143 setlocal foldnestmax=20
144 setlocal foldtext=foldtext()
145 setlocal formatexpr=
146 setlocal formatoptions=tcq
147 setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
148 setlocal grepprg=
149 setlocal iminsert=2
150 setlocal imsearch=2
151 setlocal include=
152 setlocal includeexpr=
153 setlocal indentexpr=
154 setlocal indentkeys=0{,0},:,0#,!^F,o,O,e
155 setlocal noinfercase
156 setlocal iskeyword=@,48-57,_,192-255
157 setlocal keywordprg=
158 setlocal nolinebreak
159 setlocal nolisp
160 setlocal nolist
161 setlocal makeprg=
162 setlocal matchpairs=(:),{:},[:]
163 setlocal nomodeline
164 setlocal modifiable
165 setlocal nrformats=octal,hex
166 setlocal nonumber
167 setlocal numberwidth=4
168 setlocal omnifunc=
169 setlocal path=
170 setlocal nopreserveindent
171 setlocal nopreviewwindow
172 setlocal quoteescape=\\
173 setlocal noreadonly
174 setlocal norelativenumber
175 setlocal norightleft
176 setlocal rightleftcmd=search
177 setlocal noscrollbind
178 setlocal shiftwidth=4
179 setlocal noshortname
180 setlocal nosmartindent
181 setlocal softtabstop=0
182 setlocal nospell
183 setlocal spellcapcheck=[.?!]\\_[\\])'\"\ \ ]\\+
184 setlocal spellfile=
185 setlocal spelllang=en
186 setlocal statusline=
187 setlocal suffixesadd=
188 setlocal swapfile
189 setlocal synmaxcol=3000
190 if &syntax != 'sh'
191 setlocal syntax=sh
192 endif
193 setlocal tabstop=4
194 setlocal tags=
195 setlocal textwidth=0
196 setlocal thesaurus=
197 setlocal noundofile
198 setlocal nowinfixheight
199 setlocal nowinfixwidth
200 setlocal wrap
201 setlocal wrapmargin=0
202 silent! normal! zE
203 let s:l = 1 - ((0 * winheight(0) + 11) / 23)
204 if s:l < 1 | let s:l = 1 | endif
205 exe s:l
206 normal! zt
207 1
208 normal! 0
209 tabedit patch-clonezilla-sysresccd.sh
210 set splitbelow splitright
211 set nosplitbelow
212 set nosplitright
213 wincmd t
214 set winheight=1 winwidth=1
215 argglobal
216 2argu
217 setlocal keymap=
218 setlocal noarabic
219 setlocal autoindent
220 setlocal balloonexpr=
221 setlocal nobinary
222 setlocal bufhidden=
223 setlocal buflisted
224 setlocal buftype=
225 setlocal nocindent
226 setlocal cinkeys=0{,0},0),:,0#,!^F,o,O,e
227 setlocal cinoptions=
228 setlocal cinwords=if,else,while,do,for,switch
229 setlocal colorcolumn=
230 setlocal comments=s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-
231 setlocal commentstring=#%s
232 setlocal complete=.,w,b,u,t,i
233 setlocal concealcursor=
234 setlocal conceallevel=0
235 setlocal completefunc=
236 setlocal nocopyindent
237 setlocal cryptmethod=
238 setlocal nocursorbind
239 setlocal nocursorcolumn
240 setlocal nocursorline
241 setlocal define=
242 setlocal dictionary=
243 setlocal nodiff
244 setlocal equalprg=
245 setlocal errorformat=
246 setlocal expandtab
247 if &filetype != 'sh'
248 setlocal filetype=sh
249 endif
250 setlocal foldcolumn=0
251 setlocal foldenable
252 setlocal foldexpr=0
253 setlocal foldignore=#
254 setlocal foldlevel=0
255 setlocal foldmarker={{{,}}}
256 setlocal foldmethod=manual
257 setlocal foldminlines=1
258 setlocal foldnestmax=20
259 setlocal foldtext=foldtext()
260 setlocal formatexpr=
261 setlocal formatoptions=tcq
262 setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
263 setlocal grepprg=
264 setlocal iminsert=0
265 setlocal imsearch=0
266 setlocal include=
267 setlocal includeexpr=
268 setlocal indentexpr=
269 setlocal indentkeys=0{,0},:,0#,!^F,o,O,e
270 setlocal noinfercase
271 setlocal iskeyword=@,48-57,_,192-255
272 setlocal keywordprg=
273 setlocal nolinebreak
274 setlocal nolisp
275 setlocal nolist
276 setlocal makeprg=
277 setlocal matchpairs=(:),{:},[:]
278 setlocal nomodeline
279 setlocal modifiable
280 setlocal nrformats=octal,hex
281 setlocal nonumber
282 setlocal numberwidth=4
283 setlocal omnifunc=
284 setlocal path=
285 setlocal nopreserveindent
286 setlocal nopreviewwindow
287 setlocal quoteescape=\\
288 setlocal noreadonly
289 setlocal norelativenumber
290 setlocal norightleft
291 setlocal rightleftcmd=search
292 setlocal noscrollbind
293 setlocal shiftwidth=4
294 setlocal noshortname
295 setlocal nosmartindent
296 setlocal softtabstop=0
297 setlocal nospell
298 setlocal spellcapcheck=
299 setlocal spellfile=
300 setlocal spelllang=en
301 setlocal statusline=
302 setlocal suffixesadd=
303 setlocal swapfile
304 setlocal synmaxcol=3000
305 if &syntax != 'sh'
306 setlocal syntax=sh
307 endif
308 setlocal tabstop=4
309 setlocal tags=
310 setlocal textwidth=0
311 setlocal thesaurus=
312 setlocal noundofile
313 setlocal nowinfixheight
314 setlocal nowinfixwidth
315 setlocal wrap
316 setlocal wrapmargin=0
317 silent! normal! zE
318 let s:l = 367 - ((11 * winheight(0) + 11) / 23)
319 if s:l < 1 | let s:l = 1 | endif
320 exe s:l
321 normal! zt
322 367
323 normal! 01l
324 tabedit continue-multi-cd.sh
325 set splitbelow splitright
326 set nosplitbelow
327 set nosplitright
328 wincmd t
329 set winheight=1 winwidth=1
330 argglobal
331 3argu
332 edit continue-multi-cd.sh
333 setlocal keymap=
334 setlocal noarabic
335 setlocal autoindent
336 setlocal balloonexpr=
337 setlocal nobinary
338 setlocal bufhidden=
339 setlocal buflisted
340 setlocal buftype=
341 setlocal nocindent
342 setlocal cinkeys=0{,0},0),:,0#,!^F,o,O,e
343 setlocal cinoptions=
344 setlocal cinwords=if,else,while,do,for,switch
345 setlocal colorcolumn=
346 setlocal comments=s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-
347 setlocal commentstring=#%s
348 setlocal complete=.,w,b,u,t,i
349 setlocal concealcursor=
350 setlocal conceallevel=0
351 setlocal completefunc=
352 setlocal nocopyindent
353 setlocal cryptmethod=
354 setlocal nocursorbind
355 setlocal nocursorcolumn
356 setlocal nocursorline
357 setlocal define=
358 setlocal dictionary=
359 setlocal nodiff
360 setlocal equalprg=
361 setlocal errorformat=
362 setlocal expandtab
363 if &filetype != 'sh'
364 setlocal filetype=sh
365 endif
366 setlocal foldcolumn=0
367 setlocal foldenable
368 setlocal foldexpr=0
369 setlocal foldignore=#
370 setlocal foldlevel=0
371 setlocal foldmarker={{{,}}}
372 setlocal foldmethod=manual
373 setlocal foldminlines=1
374 setlocal foldnestmax=20
375 setlocal foldtext=foldtext()
376 setlocal formatexpr=
377 setlocal formatoptions=tcq
378 setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
379 setlocal grepprg=
380 setlocal iminsert=2
381 setlocal imsearch=2
382 setlocal include=
383 setlocal includeexpr=
384 setlocal indentexpr=
385 setlocal indentkeys=0{,0},:,0#,!^F,o,O,e
386 setlocal noinfercase
387 setlocal iskeyword=@,48-57,_,192-255
388 setlocal keywordprg=
389 setlocal nolinebreak
390 setlocal nolisp
391 setlocal nolist
392 setlocal makeprg=
393 setlocal matchpairs=(:),{:},[:]
394 setlocal nomodeline
395 setlocal modifiable
396 setlocal nrformats=octal,hex
397 setlocal nonumber
398 setlocal numberwidth=4
399 setlocal omnifunc=
400 setlocal path=
401 setlocal nopreserveindent
402 setlocal nopreviewwindow
403 setlocal quoteescape=\\
404 setlocal noreadonly
405 setlocal norelativenumber
406 setlocal norightleft
407 setlocal rightleftcmd=search
408 setlocal noscrollbind
409 setlocal shiftwidth=4
410 setlocal noshortname
411 setlocal nosmartindent
412 setlocal softtabstop=0
413 setlocal nospell
414 setlocal spellcapcheck=
415 setlocal spellfile=
416 setlocal spelllang=en
417 setlocal statusline=
418 setlocal suffixesadd=
419 setlocal swapfile
420 setlocal synmaxcol=3000
421 if &syntax != 'sh'
422 setlocal syntax=sh
423 endif
424 setlocal tabstop=4
425 setlocal tags=
426 setlocal textwidth=0
427 setlocal thesaurus=
428 setlocal noundofile
429 setlocal nowinfixheight
430 setlocal nowinfixwidth
431 setlocal wrap
432 setlocal wrapmargin=0
433 silent! normal! zE
434 let s:l = 1 - ((0 * winheight(0) + 11) / 23)
435 if s:l < 1 | let s:l = 1 | endif
436 exe s:l
437 normal! zt
438 1
439 normal! 0
440 lcd ~/clonezilla-sysresccd/trunk/create-clonezilla-sysresccd
441 tabedit ~/clonezilla-sysresccd/trunk/create-clonezilla-sysresccd/profiles.conf
442 set splitbelow splitright
443 set nosplitbelow
444 set nosplitright
445 wincmd t
446 set winheight=1 winwidth=1
447 argglobal
448 4argu
449 setlocal keymap=
450 setlocal noarabic
451 setlocal autoindent
452 setlocal balloonexpr=
453 setlocal nobinary
454 setlocal bufhidden=
455 setlocal buflisted
456 setlocal buftype=
457 setlocal nocindent
458 setlocal cinkeys=0{,0},0),:,0#,!^F,o,O,e
459 setlocal cinoptions=
460 setlocal cinwords=if,else,while,do,for,switch
461 setlocal colorcolumn=
462 setlocal comments=:#
463 setlocal commentstring=#\ %s
464 setlocal complete=.,w,b,u,t,i
465 setlocal concealcursor=
466 setlocal conceallevel=0
467 setlocal completefunc=
468 setlocal nocopyindent
469 setlocal cryptmethod=
470 setlocal nocursorbind
471 setlocal nocursorcolumn
472 setlocal nocursorline
473 setlocal define=
474 setlocal dictionary=
475 setlocal nodiff
476 setlocal equalprg=
477 setlocal errorformat=
478 setlocal expandtab
479 if &filetype != 'conf'
480 setlocal filetype=conf
481 endif
482 setlocal foldcolumn=0
483 setlocal foldenable
484 setlocal foldexpr=0
485 setlocal foldignore=#
486 setlocal foldlevel=0
487 setlocal foldmarker={{{,}}}
488 setlocal foldmethod=manual
489 setlocal foldminlines=1
490 setlocal foldnestmax=20
491 setlocal foldtext=foldtext()
492 setlocal formatexpr=
493 setlocal formatoptions=croql
494 setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
495 setlocal grepprg=
496 setlocal iminsert=2
497 setlocal imsearch=2
498 setlocal include=
499 setlocal includeexpr=
500 setlocal indentexpr=
501 setlocal indentkeys=0{,0},:,0#,!^F,o,O,e
502 setlocal noinfercase
503 setlocal iskeyword=@,48-57,_,192-255
504 setlocal keywordprg=
505 setlocal nolinebreak
506 setlocal nolisp
507 setlocal nolist
508 setlocal makeprg=
509 setlocal matchpairs=(:),{:},[:]
510 setlocal nomodeline
511 setlocal modifiable
512 setlocal nrformats=octal,hex
513 setlocal nonumber
514 setlocal numberwidth=4
515 setlocal omnifunc=
516 setlocal path=
517 setlocal nopreserveindent
518 setlocal nopreviewwindow
519 setlocal quoteescape=\\
520 setlocal noreadonly
521 setlocal norelativenumber
522 setlocal norightleft
523 setlocal rightleftcmd=search
524 setlocal noscrollbind
525 setlocal shiftwidth=4
526 setlocal noshortname
527 setlocal nosmartindent
528 setlocal softtabstop=0
529 setlocal nospell
530 setlocal spellcapcheck=
531 setlocal spellfile=
532 setlocal spelllang=en
533 setlocal statusline=
534 setlocal suffixesadd=
535 setlocal swapfile
536 setlocal synmaxcol=3000
537 if &syntax != 'conf'
538 setlocal syntax=conf
539 endif
540 setlocal tabstop=4
541 setlocal tags=
542 setlocal textwidth=0
543 setlocal thesaurus=
544 setlocal noundofile
545 setlocal nowinfixheight
546 setlocal nowinfixwidth
547 setlocal wrap
548 setlocal wrapmargin=0
549 silent! normal! zE
550 let s:l = 1 - ((0 * winheight(0) + 11) / 23)
551 if s:l < 1 | let s:l = 1 | endif
552 exe s:l
553 normal! zt
554 1
555 normal! 0
556 tabedit ~/clonezilla-sysresccd/trunk/create-clonezilla-sysresccd/ChangeLog
557 set splitbelow splitright
558 set nosplitbelow
559 set nosplitright
560 wincmd t
561 set winheight=1 winwidth=1
562 argglobal
563 5argu
564 setlocal keymap=
565 setlocal noarabic
566 setlocal autoindent
567 setlocal balloonexpr=
568 setlocal nobinary
569 setlocal bufhidden=
570 setlocal buflisted
571 setlocal buftype=
572 setlocal nocindent
573 setlocal cinkeys=0{,0},0),:,0#,!^F,o,O,e
574 setlocal cinoptions=
575 setlocal cinwords=if,else,while,do,for,switch
576 setlocal colorcolumn=
577 setlocal comments=
578 setlocal commentstring=/*%s*/
579 setlocal complete=.,w,b,u,t,i
580 setlocal concealcursor=
581 setlocal conceallevel=0
582 setlocal completefunc=
583 setlocal nocopyindent
584 setlocal cryptmethod=
585 setlocal nocursorbind
586 setlocal nocursorcolumn
587 setlocal nocursorline
588 setlocal define=
589 setlocal dictionary=
590 setlocal nodiff
591 setlocal equalprg=
592 setlocal errorformat=
593 setlocal noexpandtab
594 if &filetype != 'changelog'
595 setlocal filetype=changelog
596 endif
597 setlocal foldcolumn=0
598 setlocal foldenable
599 setlocal foldexpr=0
600 setlocal foldignore=#
601 setlocal foldlevel=0
602 setlocal foldmarker={{{,}}}
603 setlocal foldmethod=manual
604 setlocal foldminlines=1
605 setlocal foldnestmax=20
606 setlocal foldtext=foldtext()
607 setlocal formatexpr=
608 setlocal formatoptions=cqt
609 setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
610 setlocal grepprg=
611 setlocal iminsert=2
612 setlocal imsearch=2
613 setlocal include=
614 setlocal includeexpr=
615 setlocal indentexpr=
616 setlocal indentkeys=0{,0},:,0#,!^F,o,O,e
617 setlocal noinfercase
618 setlocal iskeyword=@,48-57,_,192-255
619 setlocal keywordprg=
620 setlocal nolinebreak
621 setlocal nolisp
622 setlocal nolist
623 setlocal makeprg=
624 setlocal matchpairs=(:),{:},[:]
625 setlocal nomodeline
626 setlocal modifiable
627 setlocal nrformats=octal,hex
628 setlocal nonumber
629 setlocal numberwidth=4
630 setlocal omnifunc=
631 setlocal path=
632 setlocal nopreserveindent
633 setlocal nopreviewwindow
634 setlocal quoteescape=\\
635 setlocal noreadonly
636 setlocal norelativenumber
637 setlocal norightleft
638 setlocal rightleftcmd=search
639 setlocal noscrollbind
640 setlocal shiftwidth=4
641 setlocal noshortname
642 setlocal nosmartindent
643 setlocal softtabstop=0
644 setlocal nospell
645 setlocal spellcapcheck=
646 setlocal spellfile=
647 setlocal spelllang=en
648 setlocal statusline=
649 setlocal suffixesadd=
650 setlocal swapfile
651 setlocal synmaxcol=3000
652 if &syntax != 'changelog'
653 setlocal syntax=changelog
654 endif
655 setlocal tabstop=4
656 setlocal tags=
657 setlocal textwidth=78
658 setlocal thesaurus=
659 setlocal noundofile
660 setlocal nowinfixheight
661 setlocal nowinfixwidth
662 setlocal wrap
663 setlocal wrapmargin=0
664 silent! normal! zE
665 let s:l = 1 - ((0 * winheight(0) + 11) / 23)
666 if s:l < 1 | let s:l = 1 | endif
667 exe s:l
668 normal! zt
669 1
670 normal! 0
671 tabnext 3
672 if exists('s:wipebuf')
673 silent exe 'bwipe ' . s:wipebuf
674 endif
675 unlet! s:wipebuf
676 set winheight=1 winwidth=20 shortmess=filnxtToO
677 let s:sx = expand("<sfile>:p:r")."x.vim"
678 if file_readable(s:sx)
679 exe "source " . fnameescape(s:sx)
680 endif
681 let &so = s:so_save | let &siso = s:siso_save
682 doautoall SessionLoadPost
683 unlet SessionLoad
684 " vim: set ft=vim :

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26