Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://svn.hexten.net/andy/home@4879 7993f63a-630d-0410-9861-a193ae2ae3d1
- Loading branch information
Showing
5 changed files
with
98 additions
and
2 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 @@ | ||
postinstall = postinstall.sh |
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 |
---|---|---|
|
@@ -12,3 +12,4 @@ cover_db | |
.*.swp | ||
.prove | ||
Session.vim | ||
postinstall.sh |
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,85 @@ | ||
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 [% meta.home %] | ||
if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' | ||
let s:wipebuf = bufnr('%') | ||
endif | ||
set shortmess=aoO | ||
badd +1 lib/[% module.file %] | ||
badd +0 t/basic.t | ||
badd +0 Build.PL | ||
args lib/[% module.file %] t/basic.t | ||
|
||
edit lib/[% module.file %] | ||
set splitbelow splitright | ||
wincmd _ | wincmd | | ||
vsplit | ||
1wincmd h | ||
wincmd w | ||
wincmd _ | wincmd | | ||
split | ||
1wincmd k | ||
wincmd w | ||
set nosplitbelow | ||
set nosplitright | ||
wincmd t | ||
set winheight=1 winwidth=1 | ||
exe 'vert 1resize ' . ((&columns * 85 + 85) / 171) | ||
exe '2resize ' . ((&lines * 20 + 21) / 43) | ||
exe 'vert 2resize ' . ((&columns * 85 + 85) / 171) | ||
exe '3resize ' . ((&lines * 20 + 21) / 43) | ||
exe 'vert 3resize ' . ((&columns * 85 + 85) / 171) | ||
argglobal | ||
silent! normal! zE | ||
let s:l = 1 - ((0 * winheight(0) + 20) / 41) | ||
if s:l < 1 | let s:l = 1 | endif | ||
exe s:l | ||
normal! zt | ||
1 | ||
normal! 0 | ||
wincmd w | ||
argglobal | ||
2argu | ||
|
||
edit Build.PL | ||
silent! normal! zE | ||
let s:l = 1 - ((0 * winheight(0) + 10) / 20) | ||
if s:l < 1 | let s:l = 1 | endif | ||
exe s:l | ||
normal! zt | ||
1 | ||
normal! 0 | ||
wincmd w | ||
argglobal | ||
2argu | ||
silent! normal! zE | ||
let s:l = 1 - ((0 * winheight(0) + 10) / 20) | ||
if s:l < 1 | let s:l = 1 | endif | ||
exe s:l | ||
normal! zt | ||
1 | ||
normal! 0 | ||
wincmd w | ||
2wincmd w | ||
exe 'vert 1resize ' . ((&columns * 85 + 85) / 171) | ||
exe '2resize ' . ((&lines * 20 + 21) / 43) | ||
exe 'vert 2resize ' . ((&columns * 85 + 85) / 171) | ||
exe '3resize ' . ((&lines * 20 + 21) / 43) | ||
exe 'vert 3resize ' . ((&columns * 85 + 85) / 171) | ||
tabnext 1 | ||
if exists('s:wipebuf') | ||
silent exe 'bwipe ' . s:wipebuf | ||
endif | ||
unlet! s:wipebuf | ||
set winheight=1 winwidth=20 shortmess=filnxtToO | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
git init | ||
git add . | ||
git commit -m 'Initial check-in.' | ||
rm postinstall.sh | ||
|
||
# vim:ts=2:sw=2:sts=2:et:ft=sh | ||
|
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