581 | " HelpEdit & HelpView {{{2
582 | function! s:option_to_view()
583 | setlocal buftype=help nomodifiable readonly
584 | setlocal nolist
585 | setlocal colorcolumn=
586 | setlocal conceallevel=2
587 | endfunction
588 |
589 | function! s:option_to_edit()
590 | setlocal buftype= modifiable noreadonly
591 | setlocal list tabstop=8 shiftwidth=8 softtabstop=8 noexpandtab textwidth=78
592 | setlocal colorcolumn=+1
593 | setlocal conceallevel=0
594 | endfunction
595 |
596 | command! HelpEdit call <SID>option_to_edit()
597 | command! HelpView call <SID>option_to_view()
@username
を付けます 390 | AutoCmd FileType * setlocal formatoptions-=ro
391 | AutoCmd FileType * setlocal formatoptions+=jBn
392 |