-.-
This commit is contained in:
parent
ce2d129c9b
commit
9b0a4513a7
238
img/scrall/state
238
img/scrall/state
|
@ -1,238 +0,0 @@
|
|||
let SessionLoad = 1
|
||||
let s:so_save = &g:so | let s:siso_save = &g:siso | setg so=0 siso=0 | setl so=-1 siso=-1
|
||||
let v:this_session=expand("<sfile>:p")
|
||||
silent only
|
||||
silent tabonly
|
||||
cd ~/projects/things/img/scrall
|
||||
if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
|
||||
let s:wipebuf = bufnr('%')
|
||||
endif
|
||||
let s:shortmess_save = &shortmess
|
||||
if &shortmess =~ 'A'
|
||||
set shortmess=aoOA
|
||||
else
|
||||
set shortmess=aoO
|
||||
endif
|
||||
badd +15 main.c
|
||||
badd +61 ~/projects/experiments/composegrab.c
|
||||
badd +4 Makefile
|
||||
badd +1 term://~/projects/things/img/scrall//871627:/bin/bash
|
||||
badd +2 screenshot.c
|
||||
badd +9 screenshot.h
|
||||
badd +40 term://~/projects/things/img/scrall//1272817:elinks
|
||||
badd +66 ~/projects/livewp/src/rootwindow.c
|
||||
badd +1 term://elinks\ https://stackoverflow.com/questions/71947949/how-to-get-top-level-windows-and-their-names-using-libxcb
|
||||
badd +1 term://\'elinks\ https://stackoverflow.com/questions/71947949/how-to-get-top-level-windows-and-their-names-using-libxcb\'
|
||||
badd +1 term://sh\ -c\ \'elinks\ https://stackoverflow.com/questions/71947949/how-to-get-top-level-windows-and-their-names-using-libxcb\'
|
||||
badd +1 term://~/projects/things/img/scrall//1274970:elinks
|
||||
badd +15 windowtree.h
|
||||
badd +0 man://xcb_get_property_value
|
||||
badd +2 windowtree.c
|
||||
badd +372 /usr/include/xcb/xcb.h
|
||||
badd +1 /usr/include/xcb/xcb_atom.h
|
||||
badd +1 /usr/include/xcb/xcb_util.h
|
||||
badd +2 /usr/include/xcb/xcb_aux.h
|
||||
badd +0 /usr/include/xcb/xproto.h
|
||||
argglobal
|
||||
%argdel
|
||||
$argadd main.c
|
||||
edit main.c
|
||||
let s:save_splitbelow = &splitbelow
|
||||
let s:save_splitright = &splitright
|
||||
set splitbelow splitright
|
||||
wincmd _ | wincmd |
|
||||
vsplit
|
||||
1wincmd h
|
||||
wincmd _ | wincmd |
|
||||
split
|
||||
1wincmd k
|
||||
wincmd _ | wincmd |
|
||||
vsplit
|
||||
1wincmd h
|
||||
wincmd w
|
||||
wincmd w
|
||||
wincmd _ | wincmd |
|
||||
vsplit
|
||||
1wincmd h
|
||||
wincmd w
|
||||
wincmd w
|
||||
wincmd _ | wincmd |
|
||||
split
|
||||
1wincmd k
|
||||
wincmd w
|
||||
let &splitbelow = s:save_splitbelow
|
||||
let &splitright = s:save_splitright
|
||||
wincmd t
|
||||
let s:save_winminheight = &winminheight
|
||||
let s:save_winminwidth = &winminwidth
|
||||
set winminheight=0
|
||||
set winheight=1
|
||||
set winminwidth=0
|
||||
set winwidth=1
|
||||
exe '1resize ' . ((&lines * 42 + 43) / 86)
|
||||
exe 'vert 1resize ' . ((&columns * 106 + 159) / 319)
|
||||
exe '2resize ' . ((&lines * 42 + 43) / 86)
|
||||
exe 'vert 2resize ' . ((&columns * 106 + 159) / 319)
|
||||
exe '3resize ' . ((&lines * 41 + 43) / 86)
|
||||
exe 'vert 3resize ' . ((&columns * 106 + 159) / 319)
|
||||
exe '4resize ' . ((&lines * 41 + 43) / 86)
|
||||
exe 'vert 4resize ' . ((&columns * 106 + 159) / 319)
|
||||
exe '5resize ' . ((&lines * 42 + 43) / 86)
|
||||
exe 'vert 5resize ' . ((&columns * 105 + 159) / 319)
|
||||
exe '6resize ' . ((&lines * 41 + 43) / 86)
|
||||
exe 'vert 6resize ' . ((&columns * 105 + 159) / 319)
|
||||
argglobal
|
||||
balt term://~/projects/things/img/scrall//871627:/bin/bash
|
||||
setlocal fdm=manual
|
||||
setlocal fde=0
|
||||
setlocal fmr={{{,}}}
|
||||
setlocal fdi=#
|
||||
setlocal fdl=0
|
||||
setlocal fml=1
|
||||
setlocal fdn=20
|
||||
setlocal fen
|
||||
silent! normal! zE
|
||||
let &fdl = &fdl
|
||||
let s:l = 15 - ((14 * winheight(0) + 21) / 42)
|
||||
if s:l < 1 | let s:l = 1 | endif
|
||||
keepjumps exe s:l
|
||||
normal! zt
|
||||
keepjumps 15
|
||||
normal! 07|
|
||||
wincmd w
|
||||
argglobal
|
||||
if bufexists(fnamemodify("/usr/include/xcb/xproto.h", ":p")) | buffer /usr/include/xcb/xproto.h | else | edit /usr/include/xcb/xproto.h | endif
|
||||
if &buftype ==# 'terminal'
|
||||
silent file /usr/include/xcb/xproto.h
|
||||
endif
|
||||
balt /usr/include/xcb/xcb_aux.h
|
||||
setlocal fdm=manual
|
||||
setlocal fde=0
|
||||
setlocal fmr={{{,}}}
|
||||
setlocal fdi=#
|
||||
setlocal fdl=0
|
||||
setlocal fml=1
|
||||
setlocal fdn=20
|
||||
setlocal fen
|
||||
silent! normal! zE
|
||||
let &fdl = &fdl
|
||||
let s:l = 2000 - ((30 * winheight(0) + 21) / 42)
|
||||
if s:l < 1 | let s:l = 1 | endif
|
||||
keepjumps exe s:l
|
||||
normal! zt
|
||||
keepjumps 2000
|
||||
normal! 019|
|
||||
wincmd w
|
||||
argglobal
|
||||
if bufexists(fnamemodify("windowtree.h", ":p")) | buffer windowtree.h | else | edit windowtree.h | endif
|
||||
if &buftype ==# 'terminal'
|
||||
silent file windowtree.h
|
||||
endif
|
||||
balt Makefile
|
||||
setlocal fdm=manual
|
||||
setlocal fde=0
|
||||
setlocal fmr={{{,}}}
|
||||
setlocal fdi=#
|
||||
setlocal fdl=0
|
||||
setlocal fml=1
|
||||
setlocal fdn=20
|
||||
setlocal fen
|
||||
silent! normal! zE
|
||||
let &fdl = &fdl
|
||||
let s:l = 14 - ((13 * winheight(0) + 20) / 41)
|
||||
if s:l < 1 | let s:l = 1 | endif
|
||||
keepjumps exe s:l
|
||||
normal! zt
|
||||
keepjumps 14
|
||||
normal! 0
|
||||
wincmd w
|
||||
argglobal
|
||||
if bufexists(fnamemodify("windowtree.c", ":p")) | buffer windowtree.c | else | edit windowtree.c | endif
|
||||
if &buftype ==# 'terminal'
|
||||
silent file windowtree.c
|
||||
endif
|
||||
balt windowtree.h
|
||||
setlocal fdm=manual
|
||||
setlocal fde=0
|
||||
setlocal fmr={{{,}}}
|
||||
setlocal fdi=#
|
||||
setlocal fdl=0
|
||||
setlocal fml=1
|
||||
setlocal fdn=20
|
||||
setlocal fen
|
||||
silent! normal! zE
|
||||
let &fdl = &fdl
|
||||
let s:l = 74 - ((38 * winheight(0) + 20) / 41)
|
||||
if s:l < 1 | let s:l = 1 | endif
|
||||
keepjumps exe s:l
|
||||
normal! zt
|
||||
keepjumps 74
|
||||
normal! 0
|
||||
wincmd w
|
||||
argglobal
|
||||
enew
|
||||
file man://xcb_get_property_value
|
||||
balt ~/projects/experiments/composegrab.c
|
||||
setlocal fdm=manual
|
||||
setlocal fde=0
|
||||
setlocal fmr={{{,}}}
|
||||
setlocal fdi=#
|
||||
setlocal fdl=0
|
||||
setlocal fml=1
|
||||
setlocal fdn=20
|
||||
setlocal nofen
|
||||
wincmd w
|
||||
argglobal
|
||||
if bufexists(fnamemodify("~/projects/livewp/src/rootwindow.c", ":p")) | buffer ~/projects/livewp/src/rootwindow.c | else | edit ~/projects/livewp/src/rootwindow.c | endif
|
||||
if &buftype ==# 'terminal'
|
||||
silent file ~/projects/livewp/src/rootwindow.c
|
||||
endif
|
||||
balt ~/projects/experiments/composegrab.c
|
||||
setlocal fdm=manual
|
||||
setlocal fde=0
|
||||
setlocal fmr={{{,}}}
|
||||
setlocal fdi=#
|
||||
setlocal fdl=0
|
||||
setlocal fml=1
|
||||
setlocal fdn=20
|
||||
setlocal fen
|
||||
silent! normal! zE
|
||||
let &fdl = &fdl
|
||||
let s:l = 82 - ((25 * winheight(0) + 20) / 41)
|
||||
if s:l < 1 | let s:l = 1 | endif
|
||||
keepjumps exe s:l
|
||||
normal! zt
|
||||
keepjumps 82
|
||||
normal! 0
|
||||
wincmd w
|
||||
exe '1resize ' . ((&lines * 42 + 43) / 86)
|
||||
exe 'vert 1resize ' . ((&columns * 106 + 159) / 319)
|
||||
exe '2resize ' . ((&lines * 42 + 43) / 86)
|
||||
exe 'vert 2resize ' . ((&columns * 106 + 159) / 319)
|
||||
exe '3resize ' . ((&lines * 41 + 43) / 86)
|
||||
exe 'vert 3resize ' . ((&columns * 106 + 159) / 319)
|
||||
exe '4resize ' . ((&lines * 41 + 43) / 86)
|
||||
exe 'vert 4resize ' . ((&columns * 106 + 159) / 319)
|
||||
exe '5resize ' . ((&lines * 42 + 43) / 86)
|
||||
exe 'vert 5resize ' . ((&columns * 105 + 159) / 319)
|
||||
exe '6resize ' . ((&lines * 41 + 43) / 86)
|
||||
exe 'vert 6resize ' . ((&columns * 105 + 159) / 319)
|
||||
tabnext 1
|
||||
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
|
||||
silent exe 'bwipe ' . s:wipebuf
|
||||
endif
|
||||
unlet! s:wipebuf
|
||||
set winheight=1 winwidth=20
|
||||
let &shortmess = s:shortmess_save
|
||||
let &winminheight = s:save_winminheight
|
||||
let &winminwidth = s:save_winminwidth
|
||||
let s:sx = expand("<sfile>:p:r")."x.vim"
|
||||
if filereadable(s:sx)
|
||||
exe "source " . fnameescape(s:sx)
|
||||
endif
|
||||
let &g:so = s:so_save | let &g:siso = s:siso_save
|
||||
set hlsearch
|
||||
nohlsearch
|
||||
doautoall SessionLoadPost
|
||||
unlet SessionLoad
|
||||
" vim: set ft=vim :
|
Loading…
Reference in New Issue