diff options
| author | Paul Buetow <paul@buetow.org> | 2008-11-04 20:42:29 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-11-04 20:42:29 +0000 |
| commit | 48cf82bfc6cd65cc95f7658582fc532602a85ac0 (patch) | |
| tree | 97642dad8f06c1d2a666b6903e4275fb07242785 /Session.vim | |
| parent | 71f02b4a701b6fb5f54950ef9925672b8c608211 (diff) | |
few more make fules.
Diffstat (limited to 'Session.vim')
| -rw-r--r-- | Session.vim | 357 |
1 files changed, 351 insertions, 6 deletions
diff --git a/Session.vim b/Session.vim index 88a7555..1358ee6 100644 --- a/Session.vim +++ b/Session.vim @@ -41,6 +41,7 @@ set tabstop=4 set tags=./tags,./TAGS,tags,TAGS,./tags,./../tags,./../../tags,./*/tags set title set visualbell +set window=46 let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0 let v:this_session=expand("<sfile>:p") silent only @@ -49,15 +50,241 @@ if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' let s:wipebuf = bufnr('%') endif set shortmess=aoO -badd +1 src/core/interpret.h +badd +51 src/core/interpret.h +badd +26 tmp/test.fy +badd +81 src/defines.h +badd +0 TODO args src/core/interpret.h -edit src/core/interpret.h +edit TODO set splitbelow splitright +wincmd _ | wincmd | +vsplit +1wincmd h +wincmd _ | wincmd | +split +1wincmd k +wincmd w +wincmd w set nosplitbelow set nosplitright wincmd t set winheight=1 winwidth=1 +exe '1resize ' . ((&lines * 22 + 23) / 47) +exe 'vert 1resize ' . ((&columns * 71 + 71) / 143) +exe '2resize ' . ((&lines * 21 + 23) / 47) +exe 'vert 2resize ' . ((&columns * 71 + 71) / 143) +exe 'vert 3resize ' . ((&columns * 71 + 71) / 143) +argglobal +setlocal keymap= +setlocal noarabic +setlocal autoindent +setlocal balloonexpr= +setlocal nobinary +setlocal bufhidden= +setlocal buflisted +setlocal buftype= +setlocal cindent +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 +set cursorline +setlocal cursorline +setlocal define= +setlocal dictionary= +setlocal nodiff +setlocal equalprg= +setlocal errorformat= +setlocal noexpandtab +if &filetype != '' +setlocal filetype= +endif +setlocal foldcolumn=0 +setlocal foldenable +setlocal foldexpr=0 +setlocal foldignore=# +setlocal foldlevel=0 +setlocal foldmarker={{{,}}} +set foldmethod=indent +setlocal foldmethod=indent +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 modeline +setlocal modifiable +setlocal nrformats=octal,hex +setlocal nonumber +set numberwidth=1 +setlocal numberwidth=1 +setlocal omnifunc= +setlocal path= +setlocal nopreserveindent +setlocal nopreviewwindow +setlocal quoteescape=\\ +setlocal noreadonly +setlocal norightleft +setlocal rightleftcmd=search +setlocal noscrollbind +setlocal shiftwidth=3 +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 != '' +setlocal syntax= +endif +setlocal tabstop=4 +setlocal tags= +setlocal textwidth=0 +setlocal thesaurus= +setlocal nowinfixheight +setlocal nowinfixwidth +setlocal wrap +setlocal wrapmargin=0 +let s:l = 2 - ((1 * winheight(0) + 11) / 22) +if s:l < 1 | let s:l = 1 | endif +exe s:l +normal! zt +2 +normal! 0 +wincmd w argglobal +edit tmp/test.fy +setlocal keymap= +setlocal noarabic +setlocal autoindent +setlocal balloonexpr= +setlocal nobinary +setlocal bufhidden= +setlocal buflisted +setlocal buftype= +setlocal cindent +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 +set cursorline +setlocal cursorline +setlocal define= +setlocal dictionary= +setlocal nodiff +setlocal equalprg= +setlocal errorformat= +setlocal noexpandtab +if &filetype != 'conf' +setlocal filetype=conf +endif +setlocal foldcolumn=0 +setlocal foldenable +setlocal foldexpr=0 +setlocal foldignore=# +setlocal foldlevel=0 +setlocal foldmarker={{{,}}} +set foldmethod=indent +setlocal foldmethod=indent +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 modeline +setlocal modifiable +setlocal nrformats=octal,hex +setlocal nonumber +set numberwidth=1 +setlocal numberwidth=1 +setlocal omnifunc= +setlocal path= +setlocal nopreserveindent +setlocal nopreviewwindow +setlocal quoteescape=\\ +setlocal noreadonly +setlocal norightleft +setlocal rightleftcmd=search +setlocal noscrollbind +setlocal shiftwidth=3 +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=4 +setlocal tags= +setlocal textwidth=0 +setlocal thesaurus= +setlocal nowinfixheight +setlocal nowinfixwidth +setlocal wrap +setlocal wrapmargin=0 +let s:l = 26 - ((12 * winheight(0) + 10) / 21) +if s:l < 1 | let s:l = 1 | endif +exe s:l +normal! zt +26 +normal! 0 +wincmd w +argglobal +edit src/core/interpret.h setlocal keymap= setlocal noarabic setlocal autoindent @@ -88,7 +315,7 @@ if &filetype != 'cpp' setlocal filetype=cpp endif setlocal foldcolumn=0 -setlocal foldenable +setlocal nofoldenable setlocal foldexpr=0 setlocal foldignore=# setlocal foldlevel=0 @@ -154,12 +381,130 @@ setlocal nowinfixheight setlocal nowinfixwidth setlocal wrap setlocal wrapmargin=0 -let s:l = 1 - ((0 * winheight(0) + 17) / 35) +let s:l = 69 - ((36 * winheight(0) + 22) / 44) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt -1 -normal! 0 +69 +normal! 012l +wincmd w +3wincmd w +exe '1resize ' . ((&lines * 22 + 23) / 47) +exe 'vert 1resize ' . ((&columns * 71 + 71) / 143) +exe '2resize ' . ((&lines * 21 + 23) / 47) +exe 'vert 2resize ' . ((&columns * 71 + 71) / 143) +exe 'vert 3resize ' . ((&columns * 71 + 71) / 143) +tabnew +set splitbelow splitright +set nosplitbelow +set nosplitright +wincmd t +set winheight=1 winwidth=1 +argglobal +edit /usr/local/share/vim/vim71/doc/windows.txt +setlocal keymap= +setlocal noarabic +setlocal autoindent +setlocal balloonexpr= +setlocal nobinary +setlocal bufhidden= +setlocal nobuflisted +setlocal buftype=help +setlocal cindent +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 +set cursorline +setlocal cursorline +setlocal define= +setlocal dictionary= +setlocal nodiff +setlocal equalprg= +setlocal errorformat= +setlocal noexpandtab +if &filetype != 'help' +setlocal filetype=help +endif +setlocal foldcolumn=0 +setlocal nofoldenable +setlocal foldexpr=0 +setlocal foldignore=# +setlocal foldlevel=0 +setlocal foldmarker={{{,}}} +set foldmethod=indent +setlocal foldmethod=indent +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=!-~,^*,^|,^\",192-255 +setlocal keywordprg= +setlocal nolinebreak +setlocal nolisp +setlocal nolist +setlocal makeprg= +setlocal matchpairs=(:),{:},[:] +setlocal modeline +setlocal nomodifiable +setlocal nrformats=octal,hex +setlocal nonumber +set numberwidth=1 +setlocal numberwidth=1 +setlocal omnifunc= +setlocal path= +setlocal nopreserveindent +setlocal nopreviewwindow +setlocal quoteescape=\\ +setlocal readonly +setlocal norightleft +setlocal rightleftcmd=search +setlocal noscrollbind +setlocal shiftwidth=3 +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 != 'help' +setlocal syntax=help +endif +setlocal tabstop=8 +setlocal tags= +setlocal textwidth=78 +setlocal thesaurus= +setlocal nowinfixheight +setlocal nowinfixwidth +setlocal wrap +setlocal wrapmargin=0 +let s:l = 38 - ((6 * winheight(0) + 22) / 45) +if s:l < 1 | let s:l = 1 | endif +exe s:l +normal! zt +38 +normal! 064l +3wincmd w tabnext 1 if exists('s:wipebuf') silent exe 'bwipe ' . s:wipebuf |
