saved session.vim

This commit is contained in:
Sheldon Lee 2020-06-12 23:03:00 +01:00
parent 7c70cb4eb4
commit 6d500f8c14

View File

@ -171,11 +171,11 @@ setlocal nowinfixwidth
setlocal wrap setlocal wrap
setlocal wrapmargin=0 setlocal wrapmargin=0
silent! normal! zE silent! normal! zE
let s:l = 1 - ((0 * winheight(0) + 27) / 55) let s:l = 15 - ((14 * 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
1 15
normal! 0 normal! 0
tabnext tabnext
edit grid.c edit grid.c
@ -191,8 +191,8 @@ set winminheight=0
set winheight=1 set winheight=1
set winminwidth=0 set winminwidth=0
set winwidth=1 set winwidth=1
exe 'vert 1resize ' . ((&columns * 118 + 119) / 238) exe 'vert 1resize ' . ((&columns * 116 + 119) / 238)
exe 'vert 2resize ' . ((&columns * 119 + 119) / 238) exe 'vert 2resize ' . ((&columns * 121 + 119) / 238)
argglobal argglobal
1argu 1argu
setlocal keymap= setlocal keymap=
@ -319,12 +319,12 @@ setlocal nowinfixwidth
setlocal wrap setlocal wrap
setlocal wrapmargin=0 setlocal wrapmargin=0
silent! normal! zE silent! normal! zE
let s:l = 5 - ((4 * winheight(0) + 27) / 54) let s:l = 3 - ((2 * winheight(0) + 27) / 54)
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
5 3
normal! 042| normal! 0
wincmd w wincmd w
argglobal argglobal
1argu 1argu
@ -453,15 +453,15 @@ setlocal nowinfixwidth
setlocal wrap setlocal wrap
setlocal wrapmargin=0 setlocal wrapmargin=0
silent! normal! zE silent! normal! zE
let s:l = 1 - ((0 * winheight(0) + 27) / 54) let s:l = 11 - ((0 * winheight(0) + 27) / 54)
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
1 11
normal! 0 normal! 05|
wincmd w wincmd w
exe 'vert 1resize ' . ((&columns * 118 + 119) / 238) exe 'vert 1resize ' . ((&columns * 116 + 119) / 238)
exe 'vert 2resize ' . ((&columns * 119 + 119) / 238) exe 'vert 2resize ' . ((&columns * 121 + 119) / 238)
tabnext tabnext
edit vect.c edit vect.c
set splitbelow splitright set splitbelow splitright
@ -476,8 +476,8 @@ set winminheight=0
set winheight=1 set winheight=1
set winminwidth=0 set winminwidth=0
set winwidth=1 set winwidth=1
exe 'vert 1resize ' . ((&columns * 118 + 119) / 238) exe 'vert 1resize ' . ((&columns * 115 + 119) / 238)
exe 'vert 2resize ' . ((&columns * 119 + 119) / 238) exe 'vert 2resize ' . ((&columns * 122 + 119) / 238)
argglobal argglobal
3argu 3argu
setlocal keymap= setlocal keymap=
@ -743,10 +743,10 @@ if s:l < 1 | let s:l = 1 | endif
exe s:l exe s:l
normal! zt normal! zt
1 1
normal! 09| normal! 0
wincmd w wincmd w
exe 'vert 1resize ' . ((&columns * 118 + 119) / 238) exe 'vert 1resize ' . ((&columns * 115 + 119) / 238)
exe 'vert 2resize ' . ((&columns * 119 + 119) / 238) exe 'vert 2resize ' . ((&columns * 122 + 119) / 238)
tabnext tabnext
edit makefile edit makefile
set splitbelow splitright set splitbelow splitright
@ -884,20 +884,20 @@ setlocal nowinfixwidth
setlocal wrap setlocal wrap
setlocal wrapmargin=0 setlocal wrapmargin=0
silent! normal! zE silent! normal! zE
let s:l = 1 - ((0 * winheight(0) + 27) / 55) let s:l = 3 - ((2 * 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
1 3
normal! 0 normal! 0
tabnext 4 tabnext 1
set stal=1 set stal=1
badd +1 grid.c badd +1 grid.c
badd +1 main.c badd +1 main.c
badd +1 vect.c badd +1 vect.c
badd +1 makefile
badd +1 grid.h badd +1 grid.h
badd +0 vect.h badd +1 vect.h
badd +0 makefile
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0
silent exe 'bwipe ' . s:wipebuf silent exe 'bwipe ' . s:wipebuf
endif endif
@ -909,7 +909,6 @@ if filereadable(s:sx)
exe "source " . fnameescape(s:sx) exe "source " . fnameescape(s:sx)
endif endif
let &so = s:so_save | let &siso = s:siso_save let &so = s:so_save | let &siso = s:siso_save
nohlsearch
doautoall SessionLoadPost doautoall SessionLoadPost
unlet SessionLoad unlet SessionLoad
" vim: set ft=vim : " vim: set ft=vim :