71 lines
1.4 KiB
VimL
71 lines
1.4 KiB
VimL
let SessionLoad = 1
|
|
if &cp | set nocp | endif
|
|
let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0
|
|
let v:this_session=expand("<sfile>:p")
|
|
silent only
|
|
cd ~/Downloads/Kirby.Star.Allies.NSW-BigBlueBox
|
|
if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
|
|
let s:wipebuf = bufnr('%')
|
|
endif
|
|
set shortmess=aoO
|
|
badd +0 test.py
|
|
argglobal
|
|
silent! argdel *
|
|
edit test.py
|
|
set splitbelow splitright
|
|
set nosplitbelow
|
|
set nosplitright
|
|
wincmd t
|
|
set winminheight=0
|
|
set winheight=1
|
|
set winminwidth=0
|
|
set winwidth=1
|
|
argglobal
|
|
setlocal fdm=indent
|
|
setlocal fde=0
|
|
setlocal fmr={{{,}}}
|
|
setlocal fdi=#
|
|
setlocal fdl=99
|
|
setlocal fml=1
|
|
setlocal fdn=20
|
|
setlocal fen
|
|
25
|
|
normal! zo
|
|
30
|
|
normal! zo
|
|
51
|
|
normal! zo
|
|
67
|
|
normal! zo
|
|
69
|
|
normal! zo
|
|
91
|
|
normal! zo
|
|
113
|
|
normal! zo
|
|
119
|
|
normal! zo
|
|
let s:l = 168 - ((21 * winheight(0) + 11) / 22)
|
|
if s:l < 1 | let s:l = 1 | endif
|
|
exe s:l
|
|
normal! zt
|
|
168
|
|
normal! 010|
|
|
tabnext 1
|
|
if exists('s:wipebuf') && s:wipebuf != bufnr('%')
|
|
silent exe 'bwipe ' . s:wipebuf
|
|
endif
|
|
unlet! s:wipebuf
|
|
set winheight=1 winwidth=20 shortmess=filnxtToO
|
|
set winminheight=1 winminwidth=1
|
|
let s:sx = expand("<sfile>:p:r")."x.vim"
|
|
if file_readable(s:sx)
|
|
exe "source " . fnameescape(s:sx)
|
|
endif
|
|
let &so = s:so_save | let &siso = s:siso_save
|
|
let g:this_session = v:this_session
|
|
let g:this_obsession = v:this_session
|
|
let g:this_obsession_status = 2
|
|
doautoall SessionLoadPost
|
|
unlet SessionLoad
|
|
" vim: set ft=vim :
|