-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
153 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
let SessionLoad = 1 | ||
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 ~/nim-lang/Nim | ||
if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' | ||
let s:wipebuf = bufnr('%') | ||
endif | ||
set shortmess=aoO | ||
badd +1758 lib/pure/os.nim | ||
badd +957 term://.//7705:/usr/bin/fish | ||
badd +2572 lib/system.nim | ||
badd +73 doc/contributing.rst | ||
badd +1 ~/nim-lang/Nim | ||
badd +1 ~/ | ||
badd +789 term://.//11208:/usr/bin/fish | ||
badd +28 term://.//20180:/usr/bin/fish | ||
badd +8 .git/rebase-merge/git-rebase-todo | ||
badd +66 testament/testament.nim | ||
badd +67 testament/specs.nim | ||
badd +1 ~/dotfiles/neovim/.config/nvim | ||
badd +1 doc | ||
badd +1 packages.json | ||
badd +0 probapackages/packages.json | ||
badd +1 testament/important_packages.nim | ||
badd +1 proba.nim | ||
argglobal | ||
silent! argdel * | ||
$argadd \*.ml | ||
edit probapackages/packages.json | ||
set splitbelow splitright | ||
wincmd _ | wincmd | | ||
vsplit | ||
wincmd _ | wincmd | | ||
vsplit | ||
2wincmd h | ||
wincmd w | ||
wincmd w | ||
wincmd _ | wincmd | | ||
split | ||
1wincmd k | ||
wincmd w | ||
wincmd t | ||
set winminheight=0 | ||
set winheight=1 | ||
set winminwidth=0 | ||
set winwidth=1 | ||
exe 'vert 1resize ' . ((&columns * 127 + 191) / 382) | ||
exe 'vert 2resize ' . ((&columns * 127 + 191) / 382) | ||
exe '3resize ' . ((&lines * 36 + 37) / 75) | ||
exe 'vert 3resize ' . ((&columns * 126 + 191) / 382) | ||
exe '4resize ' . ((&lines * 36 + 37) / 75) | ||
exe 'vert 4resize ' . ((&columns * 126 + 191) / 382) | ||
argglobal | ||
setlocal fdm=manual | ||
setlocal fde=0 | ||
setlocal fmr={{{,}}} | ||
setlocal fdi=# | ||
setlocal fdl=0 | ||
setlocal fml=1 | ||
setlocal fdn=20 | ||
setlocal nofen | ||
silent! normal! zE | ||
let s:l = 15790 - ((31 * winheight(0) + 36) / 73) | ||
if s:l < 1 | let s:l = 1 | endif | ||
exe s:l | ||
normal! zt | ||
15790 | ||
normal! 013| | ||
lcd ~/nim-lang/Nim | ||
wincmd w | ||
argglobal | ||
if bufexists('~/nim-lang/Nim/testament/important_packages.nim') | buffer ~/nim-lang/Nim/testament/important_packages.nim | else | edit ~/nim-lang/Nim/testament/important_packages.nim | endif | ||
setlocal fdm=indent | ||
setlocal fde=0 | ||
setlocal fmr={{{,}}} | ||
setlocal fdi= | ||
setlocal fdl=0 | ||
setlocal fml=1 | ||
setlocal fdn=20 | ||
setlocal nofen | ||
let s:l = 1 - ((0 * winheight(0) + 36) / 73) | ||
if s:l < 1 | let s:l = 1 | endif | ||
exe s:l | ||
normal! zt | ||
1 | ||
normal! 0 | ||
wincmd w | ||
argglobal | ||
if bufexists('~/nim-lang/Nim/proba.nim') | buffer ~/nim-lang/Nim/proba.nim | else | edit ~/nim-lang/Nim/proba.nim | endif | ||
setlocal fdm=indent | ||
setlocal fde=0 | ||
setlocal fmr={{{,}}} | ||
setlocal fdi= | ||
setlocal fdl=0 | ||
setlocal fml=1 | ||
setlocal fdn=20 | ||
setlocal nofen | ||
let s:l = 1 - ((0 * winheight(0) + 18) / 36) | ||
if s:l < 1 | let s:l = 1 | endif | ||
exe s:l | ||
normal! zt | ||
1 | ||
normal! 0 | ||
wincmd w | ||
argglobal | ||
if bufexists('term://.//7705:/usr/bin/fish') | buffer term://.//7705:/usr/bin/fish | else | edit term://.//7705:/usr/bin/fish | endif | ||
setlocal fdm=manual | ||
setlocal fde=0 | ||
setlocal fmr={{{,}}} | ||
setlocal fdi=# | ||
setlocal fdl=0 | ||
setlocal fml=1 | ||
setlocal fdn=20 | ||
setlocal nofen | ||
let s:l = 957 - ((15 * winheight(0) + 18) / 36) | ||
if s:l < 1 | let s:l = 1 | endif | ||
exe s:l | ||
normal! zt | ||
957 | ||
normal! 044| | ||
wincmd w | ||
2wincmd w | ||
exe 'vert 1resize ' . ((&columns * 127 + 191) / 382) | ||
exe 'vert 2resize ' . ((&columns * 127 + 191) / 382) | ||
exe '3resize ' . ((&lines * 36 + 37) / 75) | ||
exe 'vert 3resize ' . ((&columns * 126 + 191) / 382) | ||
exe '4resize ' . ((&lines * 36 + 37) / 75) | ||
exe 'vert 4resize ' . ((&columns * 126 + 191) / 382) | ||
tabnext 1 | ||
if exists('s:wipebuf') && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal' | ||
silent exe 'bwipe ' . s:wipebuf | ||
endif | ||
unlet! s:wipebuf | ||
set winheight=1 winwidth=20 winminheight=1 winminwidth=1 shortmess=filnxtToOFc | ||
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 | ||
doautoall SessionLoadPost | ||
unlet SessionLoad | ||
" vim: set ft=vim : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters