# HG changeset patch # User zegervdv # Date 1414737244 -3600 # Node ID 55050e961a244582d674b8b233656466636dd078 # Parent 6993291f1552f411d1ec9f452a17967caf635adc Add session file diff -r 6993291f1552 -r 55050e961a24 vim/sessions/piserv.vim --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim/sessions/piserv.vim Fri Oct 31 07:34:04 2014 +0100 @@ -0,0 +1,88 @@ +" ~/.dotfiles/vim/sessions/piserv.vim: +" Vim session script. +" Created by session.vim 2.7 on 30 oktober 2014 at 22:22:31. +" Open this file in Vim and run :source % to restore your session. + +if exists('g:syntax_on') != 1 | syntax on | endif +if exists('g:did_load_filetypes') != 1 | filetype on | endif +if exists('g:did_load_ftplugin') != 1 | filetype plugin on | endif +if exists('g:did_indent_on') != 1 | filetype indent on | endif +if &background != 'dark' + set background=dark +endif +if !exists('g:colors_name') || g:colors_name != 'Tomorrow-Night' | colorscheme Tomorrow-Night | endif +call setqflist([]) +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(":p") +silent only +cd ~/Documents/Projects/pi-server +if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' + let s:wipebuf = bufnr('%') +endif +set shortmess=aoO +badd +10 spec/lib/indexer_spec.rb +badd +7 lib/indexer.rb +badd +56 spec/lib/photo_spec.rb +badd +9 lib/database.rb +badd +22 Gemfile +badd +73 lib/photo.rb +badd +7 config/database.yml +badd +5 Rakefile +argglobal +silent! argdel * +argadd spec/lib/indexer_spec.rb +edit lib/photo.rb +set splitbelow splitright +set nosplitbelow +wincmd t +set winheight=1 winwidth=1 +argglobal +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 s:l = 73 - ((41 * winheight(0) + 31) / 63) +if s:l < 1 | let s:l = 1 | endif +exe s:l +normal! zt +73 +normal! 0 +lcd ~/Documents/Projects/pi-server +tabnext 1 +if exists('s:wipebuf') +" silent exe 'bwipe ' . s:wipebuf +endif +" unlet! s:wipebuf +set winheight=1 winwidth=20 shortmess=filnxtToOc +let s:sx = expand(":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 + +" Support for special windows like quick-fix and plug-in windows. +" Everything down here is generated by vim-session (not supported +" by :mksession out of the box). + +1wincmd w +tabnext 1 +if exists('s:wipebuf') + if empty(bufname(s:wipebuf)) +if !getbufvar(s:wipebuf, '&modified') + let s:wipebuflines = getbufline(s:wipebuf, 1, '$') + if len(s:wipebuflines) <= 1 && empty(get(s:wipebuflines, 0, '')) + silent execute 'bwipeout' s:wipebuf + endif +endif + endif +endif +doautoall SessionLoadPost +unlet SessionLoad +" vim: ft=vim ro nowrap smc=128