fun! Iain_Vars()
if ! exists("b:iainlist") | let b:iainlist = 0 | endif
if ! exists("b:iainhex") | let b:iainhex = 0 | endif
- if ! exists("b:iainfold") | let b:iainfold = 0 | endif
endfun
" Change list mode.
endif
endfun
-" Toggle folds.
-fun! Cycle_Fold()
- call Iain_Vars()
- let b:iainfold = ! b:iainfold
- if b:iainfold | foldclose | else | foldopen | endif
-endfun
-
fun! Show_List()
call Iain_Vars()
if b:iainlist == 0
" Change to ts=32 with Q3.
map Q3 :se ts=32<CR>:<CR>
" Change foldmethod with Qf.
-map Qf :call Cycle_Fold()<CR>:<CR>
+map Qf :se foldenable!<CR>:<CR>
" Change number mode with Qn.
map Qn :se number!<CR>:<CR>