--- scripts-to-create-iso.vim 2010/05/28 09:47:17 64 +++ scripts-to-create-iso.vim 2010/07/15 20:54:27 84 @@ -3,6 +3,9 @@ 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 @@ -24,6 +27,7 @@ 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 @@ -34,15 +38,16 @@ 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 set termencoding=utf-8 set wildmenu -set window=38 let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0 let v:this_session=expand(":p") silent only @@ -56,9 +61,10 @@ badd +1 continue-multi-cd badd +1 profiles.conf badd +1 ChangeLog -badd +0 files/prerun.normal -badd +0 files/prerun.toram -badd +0 continue-multi-cd.sh +badd +1 files/prerun.normal +badd +1 files/prerun.toram +badd +1 continue-multi-cd.sh +badd +0 files/cust-menu args create-clonezilla-sysresccd.sh patch-clonezilla-sysresccd.sh continue-multi-cd profiles.conf ChangeLog edit create-clonezilla-sysresccd.sh set splitbelow splitright @@ -161,7 +167,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 686 - ((18 * winheight(0) + 19) / 38) +let s:l = 686 - ((11 * winheight(0) + 11) / 23) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -269,12 +275,12 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 247 - ((18 * winheight(0) + 19) / 38) +let s:l = 247 - ((11 * winheight(0) + 11) / 23) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 247 -normal! 034l +normal! 05l tabedit continue-multi-cd.sh set splitbelow splitright set nosplitbelow @@ -378,7 +384,115 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 19) / 38) +let s:l = 1 - ((0 * winheight(0) + 11) / 23) +if s:l < 1 | let s:l = 1 | endif +exe s:l +normal! zt +1 +normal! 0 +tabedit files/cust-menu +set splitbelow splitright +set nosplitbelow +set nosplitright +wincmd t +set winheight=1 winwidth=1 +argglobal +edit files/cust-menu +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=s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:- +setlocal commentstring=#%s +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 != 'sh' +setlocal filetype=sh +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=2 +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= +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 != 'sh' +setlocal syntax=sh +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) + 11) / 23) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -486,7 +600,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 4 - ((3 * winheight(0) + 19) / 38) +let s:l = 4 - ((2 * winheight(0) + 11) / 23) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -594,7 +708,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 46 - ((12 * winheight(0) + 19) / 38) +let s:l = 46 - ((7 * winheight(0) + 11) / 23) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -702,7 +816,7 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 19) / 38) +let s:l = 1 - ((0 * winheight(0) + 11) / 23) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt @@ -810,13 +924,13 @@ setlocal wrap setlocal wrapmargin=0 silent! normal! zE -let s:l = 1 - ((0 * winheight(0) + 19) / 38) +let s:l = 1 - ((0 * winheight(0) + 11) / 23) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 1 normal! 0 -tabnext 3 +tabnext 4 if exists('s:wipebuf') silent exe 'bwipe ' . s:wipebuf endif