forked from mbautin/brew-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.session.vim
74 lines (71 loc) · 1.99 KB
/
.session.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
" ~/code/mbautin-brew-build/.session.vim:
" Vim session script for a single tab page.
" Created by session.vim 2.13.1 on 30 April 2019 at 22:33:33.
" Open this file in Vim and run :source % to restore your session.
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 t:this_session=expand("<sfile>:p")
silent only
if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
let s:wipebuf = bufnr('%')
endif
set shortmess=aoO
" badd +166 ~/code/mbautin-brew-build/linuxbrew-build.sh
badd +0 ~/code/mbautin-brew-build/azure-pipelines.yml
argglobal
silent! argdel *
edit ~/code/mbautin-brew-build/azure-pipelines.yml
set splitbelow splitright
set nosplitbelow
set nosplitright
wincmd t
set winminheight=1 winheight=1 winminwidth=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 = 28 - ((27 * winheight(0) + 39) / 79)
if s:l < 1 | let s:l = 1 | endif
exe s:l
normal! zt
28
normal! 030|
if exists('s:wipebuf')
" silent exe 'bwipe ' . s:wipebuf
endif
" unlet! s:wipebuf
set winheight=1 winwidth=20 shortmess=filnxtToOc
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
" 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
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
let s:winrestcmd = winrestcmd()
windo doautocmd SessionLoadPost
1wincmd w
silent! execute s:winrestcmd
unlet SessionLoad
" vim: ft=vim ro nowrap smc=128