|
@@ -27,7 +27,8 @@ if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
|
|
|
endif
|
|
|
set shortmess=aoO
|
|
|
badd +1 index.html
|
|
|
-badd +0 demo.html
|
|
|
+badd +1 demo.html
|
|
|
+badd +0 css/custom.css
|
|
|
args index.html demo.html
|
|
|
edit index.html
|
|
|
set splitbelow splitright
|
|
@@ -132,11 +133,121 @@ setlocal nowinfixwidth
|
|
|
setlocal wrap
|
|
|
setlocal wrapmargin=0
|
|
|
silent! normal! zE
|
|
|
-let s:l = 1 - ((0 * winheight(0) + 22) / 44)
|
|
|
+let s:l = 35 - ((15 * winheight(0) + 22) / 44)
|
|
|
if s:l < 1 | let s:l = 1 | endif
|
|
|
exe s:l
|
|
|
normal! zt
|
|
|
-1
|
|
|
+35
|
|
|
+normal! 0
|
|
|
+tabedit css/custom.css
|
|
|
+set splitbelow splitright
|
|
|
+set nosplitbelow
|
|
|
+set nosplitright
|
|
|
+wincmd t
|
|
|
+set winheight=1 winwidth=1
|
|
|
+argglobal
|
|
|
+edit css/custom.css
|
|
|
+setlocal autoindent
|
|
|
+setlocal nobinary
|
|
|
+setlocal bufhidden=
|
|
|
+setlocal buflisted
|
|
|
+setlocal buftype=
|
|
|
+setlocal nocindent
|
|
|
+setlocal cinkeys=0{,0},0),:,0#,!^F,o,O,e
|
|
|
+setlocal cinoptions=
|
|
|
+setlocal cinwords=if,else,while,do,for,switch
|
|
|
+setlocal colorcolumn=
|
|
|
+setlocal comments=s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-
|
|
|
+setlocal commentstring=/*%s*/
|
|
|
+setlocal complete=.,w,b,u,t,i
|
|
|
+setlocal completefunc=
|
|
|
+setlocal nocopyindent
|
|
|
+setlocal cryptmethod=
|
|
|
+setlocal nocursorbind
|
|
|
+setlocal nocursorcolumn
|
|
|
+setlocal nocursorline
|
|
|
+setlocal define=
|
|
|
+setlocal dictionary=
|
|
|
+setlocal nodiff
|
|
|
+setlocal equalprg=
|
|
|
+setlocal errorformat=
|
|
|
+setlocal expandtab
|
|
|
+if &filetype != 'css'
|
|
|
+setlocal filetype=css
|
|
|
+endif
|
|
|
+setlocal foldcolumn=0
|
|
|
+setlocal foldenable
|
|
|
+setlocal foldexpr=0
|
|
|
+setlocal foldignore=#
|
|
|
+setlocal foldlevel=0
|
|
|
+setlocal foldmarker={{{,}}}
|
|
|
+setlocal foldmethod=manual
|
|
|
+setlocal foldminlines=1
|
|
|
+setlocal foldnestmax=20
|
|
|
+setlocal foldtext=foldtext()
|
|
|
+setlocal formatexpr=
|
|
|
+setlocal formatoptions=tcq
|
|
|
+setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
|
|
|
+setlocal grepprg=
|
|
|
+setlocal iminsert=0
|
|
|
+setlocal imsearch=0
|
|
|
+setlocal include=
|
|
|
+setlocal includeexpr=
|
|
|
+setlocal indentexpr=
|
|
|
+setlocal indentkeys=0{,0},:,0#,!^F,o,O,e
|
|
|
+setlocal noinfercase
|
|
|
+setlocal iskeyword=@,48-57,_,192-255
|
|
|
+setlocal keywordprg=
|
|
|
+setlocal nolinebreak
|
|
|
+setlocal nolisp
|
|
|
+setlocal nolist
|
|
|
+setlocal makeprg=
|
|
|
+setlocal matchpairs=(:),{:},[:]
|
|
|
+setlocal modeline
|
|
|
+setlocal modifiable
|
|
|
+setlocal nrformats=octal,hex
|
|
|
+set number
|
|
|
+setlocal number
|
|
|
+setlocal numberwidth=4
|
|
|
+setlocal omnifunc=
|
|
|
+setlocal path=
|
|
|
+setlocal nopreserveindent
|
|
|
+setlocal nopreviewwindow
|
|
|
+setlocal quoteescape=\\
|
|
|
+setlocal noreadonly
|
|
|
+setlocal norelativenumber
|
|
|
+setlocal noscrollbind
|
|
|
+setlocal shiftwidth=2
|
|
|
+setlocal noshortname
|
|
|
+setlocal nosmartindent
|
|
|
+setlocal softtabstop=4
|
|
|
+set spell
|
|
|
+setlocal spell
|
|
|
+setlocal spellcapcheck=[.?!]\\_[\\])'\"\ \ ]\\+
|
|
|
+setlocal spellfile=
|
|
|
+setlocal spelllang=en
|
|
|
+setlocal statusline=
|
|
|
+setlocal suffixesadd=
|
|
|
+setlocal swapfile
|
|
|
+setlocal synmaxcol=3000
|
|
|
+if &syntax != 'css'
|
|
|
+setlocal syntax=css
|
|
|
+endif
|
|
|
+setlocal tabstop=8
|
|
|
+setlocal tags=
|
|
|
+setlocal textwidth=0
|
|
|
+setlocal thesaurus=
|
|
|
+setlocal noundofile
|
|
|
+setlocal nowinfixheight
|
|
|
+setlocal nowinfixwidth
|
|
|
+setlocal wrap
|
|
|
+setlocal wrapmargin=0
|
|
|
+silent! normal! zE
|
|
|
+let s:l = 25 - ((24 * winheight(0) + 22) / 44)
|
|
|
+if s:l < 1 | let s:l = 1 | endif
|
|
|
+exe s:l
|
|
|
+normal! zt
|
|
|
+25
|
|
|
normal! 0
|
|
|
tabedit demo.html
|
|
|
set splitbelow splitright
|
|
@@ -242,13 +353,13 @@ setlocal nowinfixwidth
|
|
|
setlocal wrap
|
|
|
setlocal wrapmargin=0
|
|
|
silent! normal! zE
|
|
|
-let s:l = 1 - ((0 * winheight(0) + 22) / 44)
|
|
|
+let s:l = 83 - ((43 * winheight(0) + 22) / 44)
|
|
|
if s:l < 1 | let s:l = 1 | endif
|
|
|
exe s:l
|
|
|
normal! zt
|
|
|
-1
|
|
|
+83
|
|
|
normal! 0
|
|
|
-tabnext 1
|
|
|
+tabnext 2
|
|
|
if exists('s:wipebuf')
|
|
|
silent exe 'bwipe ' . s:wipebuf
|
|
|
endif
|