2 if &cp | set nocp | endif
5 map! <F9>
\x16\e:make
\x16\r\x16\r
6 map
\x16\x13 \x16\e:w
\x16\r
8 nmap gx <Plug>NetrwBrowseX
9 nnoremap <silent> <Plug>NetrwBrowseX :call netrw#NetrwBrowseX(expand("
\x16<cWORD>"),0)
\x16\r
10 map <F9>
\x16\e:make
\x16\r\x16\r
11 map!
\x16\x13 \x16\e:w
\x16\r
12 inoremap
\x16\x15 \x16\au
\x16\x15
17 set backspace=indent,eol,start
19 set fileencodings=ucs-bom,utf-8,default,latin1
25 set printoptions=paper:letter
27 set runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after
31 set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
34 let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0
35 let v:this_session=expand("<sfile>:p")
37 cd ~/Desktop/trabalhos/mlp/trab_final/haskell
38 if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
39 let s:wipebuf = bufnr('%')
44 badd +6 naval_battle.hs
47 set splitbelow splitright
55 set winheight=1 winwidth=1
56 exe '1resize ' . ((&lines * 39 + 27) / 54)
57 exe '2resize ' . ((&lines * 10 + 27) / 54)
67 setlocal cinkeys=0{,0},0),:,0#,!^F,o,O,e
69 setlocal cinwords=if,else,while,do,for,switch
70 setlocal comments=s1fl:{-,mb:-,ex:-},:--
71 setlocal commentstring=--\ %s
72 setlocal complete=.,w,b,u,t,i
73 setlocal completefunc=
75 setlocal nocursorcolumn
83 if &filetype != 'haskell'
84 setlocal filetype=haskell
91 setlocal foldmarker={{{,}}}
92 setlocal foldmethod=manual
93 setlocal foldminlines=1
94 setlocal foldnestmax=20
95 setlocal foldtext=foldtext()
97 setlocal formatoptions=croql
98 setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
103 setlocal includeexpr=
105 setlocal indentkeys=0{,0},:,0#,!^F,o,O,e
107 setlocal iskeyword=@,48-57,_,192-255
113 setlocal matchpairs=(:),{:},[:]
116 setlocal nrformats=octal,hex
119 setlocal numberwidth=4
122 setlocal nopreserveindent
123 setlocal nopreviewwindow
124 setlocal quoteescape=\\
127 setlocal rightleftcmd=search
128 setlocal noscrollbind
129 setlocal shiftwidth=2
132 setlocal softtabstop=0
134 setlocal spellcapcheck=[.?!]\\_[\\])'\"\ \ ]\\+
136 setlocal spelllang=en
138 setlocal suffixesadd=
140 setlocal synmaxcol=3000
141 if &syntax != 'haskell'
142 setlocal syntax=haskell
148 setlocal winfixheight
149 setlocal nowinfixwidth
151 setlocal wrapmargin=0
153 let s:l = 6 - ((4 * winheight(0) + 19) / 39)
154 if s:l < 1 | let s:l = 1 | endif
166 setlocal bufhidden=wipe
168 setlocal buftype=quickfix
170 setlocal cinkeys=0{,0},0),:,0#,!^F,o,O,e
172 setlocal cinwords=if,else,while,do,for,switch
173 setlocal comments=s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-
174 setlocal commentstring=/*%s*/
175 setlocal complete=.,w,b,u,t,i
176 setlocal completefunc=
177 setlocal nocopyindent
178 setlocal nocursorcolumn
179 setlocal nocursorline
184 setlocal errorformat=
189 setlocal foldcolumn=0
192 setlocal foldignore=#
194 setlocal foldmarker={{{,}}}
195 setlocal foldmethod=manual
196 setlocal foldminlines=1
197 setlocal foldnestmax=20
198 setlocal foldtext=foldtext()
200 setlocal formatoptions=tcq
201 setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
206 setlocal includeexpr=
208 setlocal indentkeys=0{,0},:,0#,!^F,o,O,e
210 setlocal iskeyword=@,48-57,_,192-255
216 setlocal matchpairs=(:),{:},[:]
218 setlocal nomodifiable
219 setlocal nrformats=octal,hex
222 setlocal numberwidth=4
225 setlocal nopreserveindent
226 setlocal nopreviewwindow
227 setlocal quoteescape=\\
230 setlocal rightleftcmd=search
231 setlocal noscrollbind
232 setlocal shiftwidth=2
235 setlocal softtabstop=0
237 setlocal spellcapcheck=[.?!]\\_[\\])'\"\ \ ]\\+
239 setlocal spelllang=en
241 setlocal suffixesadd=
243 setlocal synmaxcol=3000
251 setlocal winfixheight
252 setlocal nowinfixwidth
254 setlocal wrapmargin=0
257 exe '1resize ' . ((&lines * 39 + 27) / 54)
258 exe '2resize ' . ((&lines * 10 + 27) / 54)
260 set splitbelow splitright
264 set winheight=1 winwidth=1
274 setlocal cinkeys=0{,0},0),:,0#,!^F,o,O,e
276 setlocal cinwords=if,else,while,do,for,switch
277 setlocal comments=sO:#\ -,mO:#\ \ ,b:#
278 setlocal commentstring=#\ %s
279 setlocal complete=.,w,b,u,t,i
280 setlocal completefunc=
281 setlocal nocopyindent
282 setlocal nocursorcolumn
283 setlocal nocursorline
288 setlocal errorformat=
290 if &filetype != 'make'
291 setlocal filetype=make
293 setlocal foldcolumn=0
296 setlocal foldignore=#
298 setlocal foldmarker={{{,}}}
299 setlocal foldmethod=manual
300 setlocal foldminlines=1
301 setlocal foldnestmax=20
302 setlocal foldtext=foldtext()
304 setlocal formatoptions=croql
305 setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
309 setlocal include=^\\s*include
310 setlocal includeexpr=
311 setlocal indentexpr=GetMakeIndent()
312 setlocal indentkeys=!^F,o,O,<:>,=else,=endif
314 setlocal iskeyword=@,48-57,_,192-255
320 setlocal matchpairs=(:),{:},[:]
323 setlocal nrformats=octal,hex
326 setlocal numberwidth=4
329 setlocal nopreserveindent
330 setlocal nopreviewwindow
331 setlocal quoteescape=\\
334 setlocal rightleftcmd=search
335 setlocal noscrollbind
336 setlocal shiftwidth=2
338 setlocal nosmartindent
339 setlocal softtabstop=0
341 setlocal spellcapcheck=[.?!]\\_[\\])'\"\ \ ]\\+
343 setlocal spelllang=en
345 setlocal suffixesadd=
347 setlocal synmaxcol=3000
355 setlocal nowinfixheight
356 setlocal nowinfixwidth
358 setlocal wrapmargin=0
360 let s:l = 8 - ((7 * winheight(0) + 11) / 22)
361 if s:l < 1 | let s:l = 1 | endif
368 if exists('s:wipebuf')
369 silent exe 'bwipe ' . s:wipebuf
372 set winheight=1 winwidth=20 shortmess=filnxtToO
373 let s:sx = expand("<sfile>:p:r")."x.vim"
374 if file_readable(s:sx)
375 exe "source " . fnameescape(s:sx)
377 let &so = s:so_save | let &siso = s:siso_save
378 doautoall SessionLoadPost