- Added session data.

This commit is contained in:
ccremers 2005-12-04 18:43:37 +00:00
parent 6958516d70
commit 21834257a2

View File

@ -17,6 +17,7 @@ let &cpo=s:cpo_save
unlet s:cpo_save unlet s:cpo_save
set autoindent set autoindent
set autowrite set autowrite
set background=dark
set backspace=2 set backspace=2
set diffopt=filler,iwhite set diffopt=filler,iwhite
set fileencodings=ucs-bom,utf-8,default,latin1 set fileencodings=ucs-bom,utf-8,default,latin1
@ -30,7 +31,7 @@ set incsearch
set nojoinspaces set nojoinspaces
set laststatus=2 set laststatus=2
set listchars=tab:>.,trail:$ set listchars=tab:>.,trail:$
set makeprg=./Ifparser.py set makeprg=./if2spdl.py
set printencoding=ascii set printencoding=ascii
set ruler set ruler
set scrolloff=2 set scrolloff=2
@ -50,24 +51,35 @@ if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
let s:wipebuf = bufnr('%') let s:wipebuf = bufnr('%')
endif endif
set shortmess=aoO set shortmess=aoO
badd +7 If.py badd +244 If.py
badd +2 Term.py badd +111 Term.py
badd +11 if2spdl.py badd +10 if2spdl.py
badd +11 parser.py badd +11 parser.py
badd +0 Ifparser.py badd +295 Ifparser.py
badd +13 NSPK_LOWE.if
badd +9 Spdlgenerator.py
badd +13 Spdl.py
badd +29 misc.py
args If.py args If.py
edit Ifparser.py edit NSPK_LOWE.if
set splitbelow splitright set splitbelow splitright
wincmd _ | wincmd | wincmd _ | wincmd |
vsplit vsplit
1wincmd h 1wincmd h
wincmd _ | wincmd |
split
1wincmd k
wincmd w
wincmd w wincmd w
set nosplitbelow set nosplitbelow
set nosplitright set nosplitright
wincmd t wincmd t
set winheight=1 winwidth=1 set winheight=1 winwidth=1
exe 'vert 1resize ' . ((&columns * 79 + 79) / 158) exe '1resize ' . ((&lines * 28 + 28) / 57)
exe 'vert 1resize ' . ((&columns * 78 + 79) / 158)
exe '2resize ' . ((&lines * 26 + 28) / 57)
exe 'vert 2resize ' . ((&columns * 78 + 79) / 158) exe 'vert 2resize ' . ((&columns * 78 + 79) / 158)
exe 'vert 3resize ' . ((&columns * 79 + 79) / 158)
argglobal argglobal
setlocal noarabic setlocal noarabic
setlocal autoindent setlocal autoindent
@ -91,6 +103,105 @@ setlocal nodiff
setlocal equalprg= setlocal equalprg=
setlocal errorformat= setlocal errorformat=
setlocal noexpandtab setlocal noexpandtab
if &filetype != 'conf'
setlocal filetype=conf
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 formatoptions=cqrt
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 keymap=
setlocal keywordprg=
setlocal nolinebreak
setlocal nolisp
setlocal nolist
setlocal makeprg=
setlocal matchpairs=(:),{:},[:]
setlocal modeline
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=8
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 != 'conf'
setlocal syntax=conf
endif
setlocal tabstop=8
setlocal tags=
setlocal textwidth=72
setlocal thesaurus=
setlocal nowinfixheight
setlocal wrap
setlocal wrapmargin=0
silent! normal! zE
let s:l = 22 - ((16 * winheight(0) + 14) / 28)
if s:l < 1 | let s:l = 1 | endif
exe s:l
normal! zt
22
normal! 01l
wincmd w
argglobal
edit Spdl.py
setlocal noarabic
setlocal autoindent
setlocal autoread
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 define=
setlocal dictionary=
setlocal nodiff
setlocal equalprg=
setlocal errorformat=
setlocal noexpandtab
if &filetype != 'python' if &filetype != 'python'
setlocal filetype=python setlocal filetype=python
endif endif
@ -159,12 +270,12 @@ setlocal nowinfixheight
setlocal wrap setlocal wrap
setlocal wrapmargin=0 setlocal wrapmargin=0
silent! normal! zE silent! normal! zE
let s:l = 207 - ((32 * winheight(0) + 27) / 55) let s:l = 23 - ((9 * winheight(0) + 13) / 26)
if s:l < 1 | let s:l = 1 | endif if s:l < 1 | let s:l = 1 | endif
exe s:l exe s:l
normal! zt normal! zt
207 23
normal! 0 normal! 04l
wincmd w wincmd w
argglobal argglobal
edit If.py edit If.py
@ -258,20 +369,23 @@ setlocal nowinfixheight
setlocal wrap setlocal wrap
setlocal wrapmargin=0 setlocal wrapmargin=0
silent! normal! zE silent! normal! zE
let s:l = 56 - ((48 * winheight(0) + 27) / 55) let s:l = 102 - ((48 * winheight(0) + 27) / 55)
if s:l < 1 | let s:l = 1 | endif if s:l < 1 | let s:l = 1 | endif
exe s:l exe s:l
normal! zt normal! zt
56 102
normal! 025l normal! 01l
wincmd w wincmd w
2wincmd w 2wincmd w
if exists('s:wipebuf') if exists('s:wipebuf')
exe 'bwipe ' . s:wipebuf exe 'bwipe ' . s:wipebuf
endif endif
unlet! s:wipebuf unlet! s:wipebuf
exe 'vert 1resize ' . ((&columns * 79 + 79) / 158) exe '1resize ' . ((&lines * 28 + 28) / 57)
exe 'vert 1resize ' . ((&columns * 78 + 79) / 158)
exe '2resize ' . ((&lines * 26 + 28) / 57)
exe 'vert 2resize ' . ((&columns * 78 + 79) / 158) exe 'vert 2resize ' . ((&columns * 78 + 79) / 158)
exe 'vert 3resize ' . ((&columns * 79 + 79) / 158)
set winheight=1 winwidth=20 shortmess=at set winheight=1 winwidth=20 shortmess=at
let s:sx = expand("<sfile>:p:r")."x.vim" let s:sx = expand("<sfile>:p:r")."x.vim"
if file_readable(s:sx) if file_readable(s:sx)