--- Documentation.vim 2010/05/20 16:24:26 52 +++ Documentation.vim 2010/08/13 14:09:29 95 @@ -3,11 +3,16 @@ let s:cpo_save=&cpo set cpo&vim map! +map \c :echo g:colors_name +map \p :CP +map \n :CN map \dk DirDiffPrev map \dj DirDiffNext map \dp DirDiffPut map \dg DirDiffGet nmap gx NetrwBrowseX +map :colorscheme default +map :colorscheme desert nnoremap NetrwBrowseX :call netrw#NetrwBrowseX(expand(""),0) map noremap ë gt @@ -22,8 +27,8 @@ let &cpo=s:cpo_save unlet s:cpo_save set autoindent -set background=dark set backspace=indent,eol,start +set expandtab set fileencodings=ucs-bom,utf-8,default,latin1 set guifont=Monospace\ 13 set helplang=el @@ -35,9 +40,11 @@ set printoptions=paper:a4 set ruler set runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after +set shiftwidth=4 set showbreak=▶ set showcmd set showmatch +set smarttab set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc set tabpagemax=1000 set tabstop=2 @@ -94,7 +101,8 @@ badd +1 scripts/update-boot-params badd +1 scripts/html2html badd +4 scripts/html2offline -badd +0 scripts/html2doc +badd +1 scripts/html2doc +badd +0 download.html args annex-a-devices.html backup.html backup-smb.html boot-params.html clonezilla.html custom-cd.html flash-backup.html help.html index.html intro.html oldboot.html own-scripts.html partitions.html project.html recover.html reloc-img.html restoration.html restore-burn.html restore.html screenshots.html supergrubdisk.html sysresccd.html usb.html news.php onepage.php printable.php clonezilla-sysresccd.rss ../.htaccess ../.404.html ../.news.php ../.template.html ../2site html2txt ../chkNamedLinks edit annex-a-devices.html set splitbelow splitright @@ -484,7 +492,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -877,7 +885,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -1270,7 +1278,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -1663,7 +1671,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -2056,7 +2064,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -2449,7 +2457,400 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) +if s:l < 1 | let s:l = 1 | endif +exe s:l +normal! zt +1 +normal! 0 +tabedit download.html +set splitbelow splitright +set nosplitbelow +set nosplitright +wincmd t +set winheight=1 winwidth=1 +argglobal +edit download.html +vnoremap  :call HTMLnextInsertPoint('n') +nnoremap  :call HTMLnextInsertPoint('n') +nnoremap ;nw3 :call LaunchBrowser('w',1) +nnoremap ;w3 :call LaunchBrowser('w',0) +nnoremap ;nly :call LaunchBrowser('l',1) +nnoremap ;ly :call LaunchBrowser('l',0) +nnoremap ;toa :call LaunchBrowser('o',2) +nnoremap ;noa :call LaunchBrowser('o',1) +nnoremap ;oa :call LaunchBrowser('o',0) +nnoremap ;nne :call LaunchBrowser('n',1) +nnoremap ;ne :call LaunchBrowser('n',0) +nnoremap ;tmo :call LaunchBrowser('m',2) +nnoremap ;nmo :call LaunchBrowser('m',1) +nnoremap ;mo :call LaunchBrowser('m',0) +nnoremap ;tff :call LaunchBrowser('f',2) +nnoremap ;nff :call LaunchBrowser('f',1) +nnoremap ;ff :call LaunchBrowser('f',0) +nnoremap ;tA :call HTMLgenerateTable() +nnoremap ;s4 :call append(0, '') +nnoremap ;4 :call append(0, '') +nnoremap ;html :if HTMLtemplate() | startinsert | endif +nnoremap ;mi :call MangleImageTag() +nnoremap ;  +nnoremap ;; ; +vnoremap ;; ; +inoremap  :call HTMLnextInsertPoint('i') +inoremap &hA ⇔ +inoremap &dA ⇓ +inoremap &rA ⇒ +inoremap &uA ⇑ +inoremap &lA ⇐ +inoremap &ha ↔ +inoremap &da ↓ +inoremap &ra → +inoremap &ua ↑ +inoremap &la ← +inoremap &pv ϖ +inoremap &uh ϒ +inoremap &ts ϑ +inoremap &og ω +inoremap &ps ψ +inoremap &ch χ +inoremap &ph φ +inoremap &up υ +inoremap &ta τ +inoremap &sf ς +inoremap &si σ +inoremap &rh ρ +inoremap &pi π +inoremap &oc ο +inoremap &xi ξ +inoremap &nu ν +inoremap &mu μ +inoremap &lm λ +inoremap &ka κ +inoremap &io ι +inoremap &th θ +inoremap &et η +inoremap &ze ζ +inoremap &ep ε +inoremap &de δ +inoremap &ga γ +inoremap &be β +inoremap &al α +inoremap &Ps Ψ +inoremap &Ch Χ +inoremap &Ph Φ +inoremap &Up Υ +inoremap &Ta Τ +inoremap &Si Σ +inoremap &Rh Ρ +inoremap &Pi Π +inoremap &Oc Ο +inoremap &Xi Ξ +inoremap &Nu Ν +inoremap &Mu Μ +inoremap &Lm Λ +inoremap &Ka Κ +inoremap &Io Ι +inoremap &Th Θ +inoremap &Et Η +inoremap &Ze Ζ +inoremap &Ep Ε +inoremap &De Δ +inoremap &Ga Γ +inoremap &Be Β +inoremap &Al Α +inoremap &3. … +inoremap &-- — +inoremap &3- — +inoremap &m- — +inoremap &2- – +inoremap &n- – +inoremap &34 ¾ +inoremap &12 ½ +inoremap &14 ¼ +inoremap &. · +inoremap &pa ¶ +inoremap &mi µ +inoremap &dg ° +inoremap &? ¿ +inoremap &! ¡ +inoremap &sz ß +inoremap &o/ ø +inoremap &/ ÷ +inoremap &" ¨ +inoremap &2> » +inoremap &2< « +inoremap &y" ÿ +inoremap &y' ý +inoremap &u" ü +inoremap &u^ û +inoremap &u' ú +inoremap &u` ù +inoremap &x × +inoremap &o" ö +inoremap &o~ õ +inoremap &o^ ô +inoremap &o' ó +inoremap &o` ò +inoremap &n~ ñ +inoremap &i" ï +inoremap &i^ î +inoremap &i' í +inoremap &i` ì +inoremap &e" ë +inoremap &e^ ê +inoremap &e' é +inoremap &e` è +inoremap &c, ç +inoremap &ae æ +inoremap &ao å +inoremap &a" ä +inoremap &a~ ã +inoremap &a^ â +inoremap &a' á +inoremap &a` à +inoremap &Y' Ý +inoremap &U" Ü +inoremap &U^ Û +inoremap &U' Ú +inoremap &U` Ù +inoremap &O/ Ø +inoremap &O" Ö +inoremap &O~ Õ +inoremap &O^ Ô +inoremap &O' Ó +inoremap &O` Ò +inoremap &N~ Ñ +inoremap &I" Ï +inoremap &I^ Î +inoremap &I' Í +inoremap &I` Ì +inoremap &E" Ë +inoremap &E^ Ê +inoremap &E' É +inoremap &E` È +inoremap &C, Ç +inoremap &AE Æ +inoremap &Ao Å +inoremap &A" Ä +inoremap &A~ Ã +inoremap &A^ Â +inoremap &A' Á +inoremap &A` À +inoremap &c| ¢ +inoremap &Y= ¥ +inoremap &# £ +inoremap &   +inoremap &> > +inoremap &< < +inoremap &' " +inoremap &tm ™ +inoremap &rO ® +inoremap &cO © +inoremap && & +inoremap ;   +inoremap ;la F" +inoremap ;re  +inoremap ;su  +inoremap ;tx k$5F"i +inoremap ;og  k$F"i +inoremap ;op F< +inoremap ;ms O +inoremap ;se O +inoremap ;fi 5F" +inoremap ;te 5F" +inoremap ;pa 5F" +inoremap ;hi 3F" +inoremap ;ra 3F" +inoremap ;ch 3F" +inoremap ;bu 3F" +inoremap ;fm 
 
k$F"i +inoremap ;if k$F"i +inoremap ;nf  O +inoremap ;fr F" +inoremap ;fs  k$3F"i +inoremap ;th F< +inoremap ;td  O +inoremap ;tr  O +inoremap ;tf  O +inoremap ;tb  O +inoremap ;tH  O +inoremap ;ta  
O +inoremap ;ca F< +inoremap ;ob  k$5F"i +inoremap ;ns O +inoremap ;eb  k$5F"i +inoremap ;sj 5F" +inoremap ;va F< +inoremap ;ul 
     
O +inoremap ;tt F< +inoremap ;ti F< +inoremap ;sp F< +inoremap ;sb F< +inoremap ;ls F" +inoremap ;cs kO +inoremap ;sm F< +inoremap ;sa F< +inoremap ;sk F< +inoremap ;qu F< +inoremap ;pr 


O +inoremap ;/p 

  

 +inoremap ;pp 

 

O +inoremap ;ol 
     
O +inoremap ;mh 3F" +inoremap ;mE 3F" +inoremap ;me 3F" +inoremap ;lk F" +inoremap ;li 
  • 
  • F< +inoremap ;kb F< +inoremap ;ii  +inoremap ;in F< +inoremap ;iM F" +inoremap ;im 3F" +inoremap ;ht  O +inoremap ;Hr 
    +inoremap ;hr 
    +inoremap ;he  O +inoremap ;H6 
    
    F< +inoremap ;H5 
    
    F< +inoremap ;H4 

    

    F< +inoremap ;H3 

    

    F< +inoremap ;H2 

    

    F< +inoremap ;H1 

    

    F< +inoremap ;h6 
    
    F< +inoremap ;h5 
    
    F< +inoremap ;h4 

    

    F< +inoremap ;h3 

    

    F< +inoremap ;h2 

    

    F< +inoremap ;h1 

    

    F< +inoremap ;fc F" +inoremap ;fo F" +inoremap ;sn F< +inoremap ;dv 
     
    O +inoremap ;df F< +inoremap ;de F< +inoremap ;dd 
    
    F< +inoremap ;dt 
    
    F< +inoremap ;dl 
     
    O +inoremap ;co F< +inoremap ;ci F< +inoremap ;ce 
    
    F< +inoremap ;br 
    +inoremap ;bd  O +inoremap ;bl 
     
    O +inoremap ;bi F< +inoremap ;bh F" +inoremap ;ad 
    
    F< +inoremap ;aC F< +inoremap ;ac F" +inoremap ;aB F< +inoremap ;ab F" +inoremap ;aN F< +inoremap ;an F" +inoremap ;aT F" +inoremap ;at 3F" +inoremap ;aH F< +inoremap ;ah F" +imap ;s4 ;s4 +imap ;4 ;4 +inoremap ;mi :call MangleImageTag() +inoremap ;  +inoremap ;& & +inoremap ;; ; +setlocal keymap= +setlocal noarabic +setlocal autoindent +setlocal balloonexpr= +setlocal nobinary +setlocal bufhidden= +setlocal buflisted +setlocal buftype= +setlocal nocindent +setlocal cinkeys=0{,0},0),:,0#,!^F,o,O,e +setlocal cinoptions= +setlocal cinwords=if,else,while,do,for,switch +setlocal comments=s: +setlocal commentstring= +setlocal complete=.,w,b,u,t,i +setlocal completefunc= +setlocal nocopyindent +setlocal nocursorcolumn +setlocal nocursorline +setlocal define= +setlocal dictionary= +setlocal nodiff +setlocal equalprg= +setlocal errorformat= +setlocal expandtab +if &filetype != 'html' +setlocal filetype=html +endif +setlocal foldcolumn=0 +setlocal foldenable +setlocal foldexpr=0 +setlocal foldignore=# +setlocal foldlevel=0 +setlocal foldmarker={{{,}}} +setlocal foldmethod=manual +setlocal foldminlines=1 +setlocal foldnestmax=20 +setlocal foldtext=foldtext() +setlocal formatexpr= +setlocal formatoptions=tcq +setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s* +setlocal grepprg= +setlocal iminsert=0 +setlocal imsearch=2 +setlocal include= +setlocal includeexpr= +setlocal indentexpr= +setlocal indentkeys=0{,0},:,0#,!^F,o,O,e +setlocal noinfercase +setlocal iskeyword=@,48-57,_,192-255 +setlocal keywordprg= +setlocal nolinebreak +setlocal nolisp +setlocal nolist +setlocal makeprg= +setlocal matchpairs=(:),{:},[:],<:> +setlocal nomodeline +setlocal modifiable +setlocal nrformats=octal,hex +setlocal nonumber +setlocal numberwidth=4 +setlocal omnifunc=htmlcomplete#CompleteTags +setlocal path= +setlocal nopreserveindent +setlocal nopreviewwindow +setlocal quoteescape=\\ +setlocal noreadonly +setlocal norightleft +setlocal rightleftcmd=search +setlocal noscrollbind +setlocal shiftwidth=4 +setlocal noshortname +setlocal nosmartindent +setlocal softtabstop=0 +setlocal nospell +setlocal spellcapcheck=[.?!]\\_[\\])'\"\ \ ]\\+ +setlocal spellfile= +setlocal spelllang=en +setlocal statusline= +setlocal suffixesadd= +setlocal swapfile +setlocal synmaxcol=3000 +if &syntax != 'html' +setlocal syntax=html +endif +setlocal tabstop=2 +setlocal tags= +setlocal textwidth=0 +setlocal thesaurus= +setlocal nowinfixheight +setlocal nowinfixwidth +setlocal wrap +setlocal wrapmargin=0 +silent! normal! zE +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -2842,7 +3243,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -4021,7 +4422,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -4414,7 +4815,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -4807,7 +5208,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -5593,7 +5994,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -5986,7 +6387,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -6379,7 +6780,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -7165,7 +7566,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -7506,8 +7907,8 @@ setlocal formatoptions=tcq setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s* setlocal grepprg= -setlocal iminsert=2 -setlocal imsearch=2 +setlocal iminsert=0 +setlocal imsearch=0 setlocal include= setlocal includeexpr= setlocal indentexpr= @@ -7558,12 +7959,12 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 242 - ((18 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt -1 -normal! 0 +242 +normal! 090l tabedit screenshots.html set splitbelow splitright set nosplitbelow @@ -10932,7 +11333,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -11326,7 +11727,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 11) / 23) +let s:l = 1 - ((0 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -11435,11 +11836,11 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 34 - ((0 * winheight(0) + 19) / 38) +let s:l = 142 - ((37 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt -34 +142 normal! 0 tabedit scripts/html2txt set splitbelow splitright @@ -11543,7 +11944,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 23 - ((19 * winheight(0) + 19) / 38) +let s:l = 23 - ((12 * winheight(0) + 11) / 23) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -11652,7 +12053,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 266 - ((23 * winheight(0) + 19) / 38) +let s:l = 266 - ((14 * winheight(0) + 11) / 23) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -11760,12 +12161,12 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 19) / 38) +let s:l = 2 - ((1 * winheight(0) + 11) / 23) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt -1 -normal! 0 +2 +normal! 039l tabedit ../chkNamedLinks set splitbelow splitright set nosplitbelow @@ -11868,13 +12269,13 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 2 - ((0 * winheight(0) + 19) / 38) +let s:l = 2 - ((0 * winheight(0) + 11) / 23) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 2 normal! 0 -tabnext 34 +tabnext 7 if exists('s:wipebuf') silent exe 'bwipe ' . s:wipebuf endif